#232D6F#232D6F

#232D6F is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.1% C 0.114 H 272.1°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#232D6F
RGBrgb(35, 45, 111)
HSLhsl(232, 52%, 29%)
HSVhsv(232, 68%, 44%)
CMYKcmyk(68.5%, 59.5%, 0%, 56.5%)
CIE-LABlab(21.51, 19.19, -39.65)
CIE-LCHlch(21.51, 44.05, 295.83°)
OKLaboklab(33.08% 0.0042 -0.114)
OKLCHoklch(33.08% 0.114 272.1)
XYZxyz(4.4998, 3.3814, 15.4514)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232D6F #6F6523
analogous
#23536F #232D6F #3F236F
triadic
#232D6F #6F232D #2D6F23
tetradic
#232D6F #6F2353 #6F6523 #236F3F
square
#232D6F #6F2353 #6F6523 #236F3F
split-complementary
#232D6F #6F3F23 #536F23
monochromatic
#070917 #141A40 #232D6F #32409E #4758C5

Accessibility & contrast

On white

12.53
#232D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#232D6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232D6F
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232D6F#FFFFFF#000000##FFFFFF
##232D6F1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#00306E
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #232d6f;
/* rgb */ color: rgb(35, 45, 111);
/* oklch */ color: oklch(33.1% 0.114 272.1);
Tailwind
colors: {
  custom: {
    50: '#686599',
    500: '#232d6f',
    950: '#000000',
  },
}
SCSS
$custom: #232d6f;
$custom-light: #686599;
$custom-dark: #000000;
JSON
{
  "hex": "#232d6f",
  "rgb": {
    "r": 35,
    "g": 45,
    "b": 111
  },
  "hsl": {
    "h": 232.105,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33081,
    "c": 0.11411,
    "h": 272.1
  },
  "luminance": 0.03382
}

Semantic roles & 50–950 ramp

primary
#232D6F
secondary
#A2974C
accent
#C94CDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #232D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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