#232F78#232F78

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

Color values

HEX#232F78
RGBrgb(35, 47, 120)
HSLhsl(232, 55%, 30%)
HSVhsv(232, 71%, 47%)
CMYKcmyk(70.8%, 60.8%, 0%, 52.9%)
CIE-LABlab(22.81, 21.27, -43.29)
CIE-LCHlch(22.81, 48.24, 296.17°)
OKLaboklab(34.29% 0.0025 -0.1247)
OKLCHoklch(34.29% 0.125 271.2)
XYZxyz(5.0987, 3.7459, 18.2200)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232F78 #786C23
analogous
#235A78 #232F78 #412378
triadic
#232F78 #78232F #2F7823
tetradic
#232F78 #78235A #786C23 #237841
square
#232F78 #78235A #786C23 #237841
split-complementary
#232F78 #784123 #5A7823
monochromatic
#070A19 #151C49 #232F78 #3142A7 #4B5DCA

Accessibility & contrast

On white

12.01
#232F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232F78
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232F78#FFFFFF#000000##FFFFFF
##232F781.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7A
Deuteranopia (green-blind)
#003377
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #232f78;
/* rgb */ color: rgb(35, 47, 120);
/* oklch */ color: oklch(34.3% 0.125 271.2);
Tailwind
colors: {
  custom: {
    50: '#6a67a0',
    500: '#232f78',
    950: '#000000',
  },
}
SCSS
$custom: #232f78;
$custom-light: #6a67a0;
$custom-dark: #000000;
JSON
{
  "hex": "#232f78",
  "rgb": {
    "r": 35,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 231.529,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34286,
    "c": 0.12476,
    "h": 271.2
  },
  "luminance": 0.03746
}

Semantic roles & 50–950 ramp

primary
#232F78
secondary
#AB9D4C
accent
#C94ADE
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #232F78

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

Preview Lab → · Contrast checker → · Palette generator →

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