#232F79#232F79

#232F79 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.4% C 0.126 H 271.1°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#232F79
RGBrgb(35, 47, 121)
HSLhsl(232, 55%, 31%)
HSVhsv(232, 71%, 47%)
CMYKcmyk(71.1%, 61.2%, 0%, 52.5%)
CIE-LABlab(22.90, 21.66, -43.79)
CIE-LCHlch(22.90, 48.86, 296.32°)
OKLaboklab(34.38% 0.0025 -0.1262)
OKLCHoklch(34.38% 0.126 271.1)
XYZxyz(5.1597, 3.7703, 18.5413)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232F79 #796D23
analogous
#235A79 #232F79 #422379
triadic
#232F79 #79232F #2F7923
tetradic
#232F79 #79235A #796D23 #237942
square
#232F79 #79235A #796D23 #237942
split-complementary
#232F79 #794223 #5A7923
monochromatic
#080A1A #151D4A #232F79 #3141A8 #4B5DCB

Accessibility & contrast

On white

11.97
#232F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232F79
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232F79#FFFFFF#000000##FFFFFF
##232F791.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #232f79;
/* rgb */ color: rgb(35, 47, 121);
/* oklch */ color: oklch(34.4% 0.126 271.1);
Tailwind
colors: {
  custom: {
    50: '#6a67a0',
    500: '#232f79',
    950: '#000000',
  },
}
SCSS
$custom: #232f79;
$custom-light: #6a67a0;
$custom-dark: #000000;
JSON
{
  "hex": "#232f79",
  "rgb": {
    "r": 35,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 231.628,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34375,
    "c": 0.12622,
    "h": 271.1
  },
  "luminance": 0.03771
}

Semantic roles & 50–950 ramp

primary
#232F79
secondary
#AC9E4C
accent
#CA49DE
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #232F79

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

Preview Lab → · Contrast checker → · Palette generator →

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