#232C7F#232C7F

#232C7F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.139 H 272.0°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#232C7F
RGBrgb(35, 44, 127)
HSLhsl(234, 57%, 32%)
HSVhsv(234, 72%, 50%)
CMYKcmyk(72.4%, 65.4%, 0%, 50.2%)
CIE-LABlab(22.62, 26.02, -48.04)
CIE-LCHlch(22.62, 54.64, 298.44°)
OKLaboklab(34.34% 0.0049 -0.1387)
OKLCHoklch(34.34% 0.139 272)
XYZxyz(5.4233, 3.6905, 20.5011)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232C7F #7F7623
analogous
#235A7F #232C7F #48237F
triadic
#232C7F #7F232C #2C7F23
tetradic
#232C7F #7F235A #7F7623 #237F48
square
#232C7F #7F235A #7F7623 #237F48
split-complementary
#232C7F #7F4823 #5A7F23
monochromatic
#090B1F #161B4F #232C7F #303DAF #4E5BCE

Accessibility & contrast

On white

12.08
#232C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#232C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232C7F
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232C7F#FFFFFF#000000##FFFFFF
##232C7F1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #232c7f;
/* rgb */ color: rgb(35, 44, 127);
/* oklch */ color: oklch(34.3% 0.139 272.0);
Tailwind
colors: {
  custom: {
    50: '#6c65a5',
    500: '#232c7f',
    950: '#000000',
  },
}
SCSS
$custom: #232c7f;
$custom-light: #6c65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#232c7f",
  "rgb": {
    "r": 35,
    "g": 44,
    "b": 127
  },
  "hsl": {
    "h": 234.13,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34335,
    "c": 0.13879,
    "h": 272
  },
  "luminance": 0.03691
}

Semantic roles & 50–950 ramp

primary
#232C7F
secondary
#B1A74C
accent
#D148E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #232C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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