#232D7F#232D7F

#232D7F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.138 H 271.7°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#232D7F
RGBrgb(35, 45, 127)
HSLhsl(233, 57%, 32%)
HSVhsv(233, 72%, 50%)
CMYKcmyk(72.4%, 64.6%, 0%, 50.2%)
CIE-LABlab(22.88, 25.34, -47.62)
CIE-LCHlch(22.88, 53.94, 298.02°)
OKLaboklab(34.53% 0.0041 -0.1374)
OKLCHoklch(34.53% 0.138 271.7)
XYZxyz(5.4610, 3.7659, 20.5136)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232D7F #7F7523
analogous
#235B7F #232D7F #47237F
triadic
#232D7F #7F232D #2D7F23
tetradic
#232D7F #7F235B #7F7523 #237F47
square
#232D7F #7F235B #7F7523 #237F47
split-complementary
#232D7F #7F4723 #5B7F23
monochromatic
#090B1F #161C4F #232D7F #303EAF #4E5CCE

Accessibility & contrast

On white

11.98
#232D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#232D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232D7F
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232D7F#FFFFFF#000000##FFFFFF
##232D7F1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #232d7f;
/* rgb */ color: rgb(35, 45, 127);
/* oklch */ color: oklch(34.5% 0.138 271.7);
Tailwind
colors: {
  custom: {
    50: '#6c66a5',
    500: '#232d7f',
    950: '#000000',
  },
}
SCSS
$custom: #232d7f;
$custom-light: #6c66a5;
$custom-dark: #000000;
JSON
{
  "hex": "#232d7f",
  "rgb": {
    "r": 35,
    "g": 45,
    "b": 127
  },
  "hsl": {
    "h": 233.478,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34527,
    "c": 0.13751,
    "h": 271.7
  },
  "luminance": 0.03766
}

Semantic roles & 50–950 ramp

primary
#232D7F
secondary
#B1A64C
accent
#D048E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #232D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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