#232F71#232F71

#232F71 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.114 H 271.2°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#232F71
RGBrgb(35, 47, 113)
HSLhsl(231, 53%, 29%)
HSVhsv(231, 69%, 44%)
CMYKcmyk(69%, 58.4%, 0%, 55.7%)
CIE-LABlab(22.24, 18.56, -39.75)
CIE-LCHlch(22.24, 43.87, 295.03°)
OKLaboklab(33.68% 0.0023 -0.1143)
OKLCHoklch(33.68% 0.114 271.2)
XYZxyz(4.6893, 3.5822, 16.0639)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232F71 #716523
analogous
#235671 #232F71 #3E2371
triadic
#232F71 #71232F #2F7123
tetradic
#232F71 #712356 #716523 #23713E
square
#232F71 #712356 #716523 #23713E
split-complementary
#232F71 #713E23 #567123
monochromatic
#070A17 #151C42 #232F71 #3142A0 #485BC6

Accessibility & contrast

On white

12.23
#232F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#232F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232F71
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232F71#FFFFFF#000000##FFFFFF
##232F711.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #232f71;
/* rgb */ color: rgb(35, 47, 113);
/* oklch */ color: oklch(33.7% 0.114 271.2);
Tailwind
colors: {
  custom: {
    50: '#68679a',
    500: '#232f71',
    950: '#000000',
  },
}
SCSS
$custom: #232f71;
$custom-light: #68679a;
$custom-dark: #000000;
JSON
{
  "hex": "#232f71",
  "rgb": {
    "r": 35,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 230.769,
    "s": 52.703,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33677,
    "c": 0.11434,
    "h": 271.2
  },
  "luminance": 0.03583
}

Semantic roles & 50–950 ramp

primary
#232F71
secondary
#A4974C
accent
#C64CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #232F71

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#232F71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva