#232F76#232F76

#232F76 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.1% C 0.122 H 271.2°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#232F76
RGBrgb(35, 47, 118)
HSLhsl(231, 54%, 30%)
HSVhsv(231, 70%, 46%)
CMYKcmyk(70.3%, 60.2%, 0%, 53.7%)
CIE-LABlab(22.65, 20.50, -42.29)
CIE-LCHlch(22.65, 47.00, 295.86°)
OKLaboklab(34.11% 0.0025 -0.1218)
OKLCHoklch(34.11% 0.122 271.2)
XYZxyz(4.9786, 3.6979, 17.5874)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232F76 #766A23
analogous
#235976 #232F76 #402376
triadic
#232F76 #76232F #2F7623
tetradic
#232F76 #762359 #766A23 #237640
square
#232F76 #762359 #766A23 #237640
split-complementary
#232F76 #764023 #597623
monochromatic
#070918 #151C47 #232F76 #3142A5 #4A5CC9

Accessibility & contrast

On white

12.07
#232F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232F76
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232F76#FFFFFF#000000##FFFFFF
##232F761.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #232f76;
/* rgb */ color: rgb(35, 47, 118);
/* oklch */ color: oklch(34.1% 0.122 271.2);
Tailwind
colors: {
  custom: {
    50: '#69679e',
    500: '#232f76',
    950: '#000000',
  },
}
SCSS
$custom: #232f76;
$custom-light: #69679e;
$custom-dark: #000000;
JSON
{
  "hex": "#232f76",
  "rgb": {
    "r": 35,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 231.325,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.3411,
    "c": 0.12181,
    "h": 271.2
  },
  "luminance": 0.03698
}

Semantic roles & 50–950 ramp

primary
#232F76
secondary
#A99B4C
accent
#C84ADE
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #232F76

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

Preview Lab → · Contrast checker → · Palette generator →

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