#232F7B#232F7B

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

Color values

HEX#232F7B
RGBrgb(35, 47, 123)
HSLhsl(232, 56%, 31%)
HSVhsv(232, 72%, 48%)
CMYKcmyk(71.5%, 61.8%, 0%, 51.8%)
CIE-LABlab(23.07, 22.43, -44.78)
CIE-LCHlch(23.07, 50.09, 296.61°)
OKLaboklab(34.56% 0.0025 -0.1291)
OKLCHoklch(34.56% 0.129 271.1)
XYZxyz(5.2836, 3.8199, 19.1939)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232F7B #7B6F23
analogous
#235B7B #232F7B #43237B
triadic
#232F7B #7B232F #2F7B23
tetradic
#232F7B #7B235B #7B6F23 #237B43
square
#232F7B #7B235B #7B6F23 #237B43
split-complementary
#232F7B #7B4323 #5B7B23
monochromatic
#080B1C #151D4B #232F7B #3141AB #4C5ECC

Accessibility & contrast

On white

11.90
#232F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#232F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232F7B
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232F7B#FFFFFF#000000##FFFFFF
##232F7B1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #232f7b;
/* rgb */ color: rgb(35, 47, 123);
/* oklch */ color: oklch(34.6% 0.129 271.1);
Tailwind
colors: {
  custom: {
    50: '#6a67a2',
    500: '#232f7b',
    950: '#000000',
  },
}
SCSS
$custom: #232f7b;
$custom-light: #6a67a2;
$custom-dark: #000000;
JSON
{
  "hex": "#232f7b",
  "rgb": {
    "r": 35,
    "g": 47,
    "b": 123
  },
  "hsl": {
    "h": 231.818,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34555,
    "c": 0.12913,
    "h": 271.1
  },
  "luminance": 0.0382
}

Semantic roles & 50–950 ramp

primary
#232F7B
secondary
#AEA04C
accent
#CB49DF
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #232F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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