#232F5B#232F5B

#232F5B is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.080 H 269.9°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#232F5B
RGBrgb(35, 47, 91)
HSLhsl(227, 44%, 25%)
HSVhsv(227, 62%, 36%)
CMYKcmyk(61.5%, 48.4%, 0%, 64.3%)
CIE-LABlab(20.62, 10.04, -28.03)
CIE-LCHlch(20.62, 29.78, 289.71°)
OKLaboklab(31.93% -0.0001 -0.0799)
OKLCHoklch(31.93% 0.08 269.9)
XYZxyz(3.5974, 3.1454, 10.3131)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232F5B #5B4F23
analogous
#234B5B #232F5B #33235B
triadic
#232F5B #5B232F #2F5B23
tetradic
#232F5B #5B234B #5B4F23 #235B33
square
#232F5B #5B234B #5B4F23 #235B33
split-complementary
#232F5B #5B3323 #4B5B23
monochromatic
#090B16 #12182F #232F5B #344687 #455DB3

Accessibility & contrast

On white

12.89
#232F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#232F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232F5B
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232F5B#FFFFFF#000000##FFFFFF
##232F5B1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B345D
Deuteranopia (green-blind)
#142F5A
Tritanopia (blue-blind)
#013940
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #232f5b;
/* rgb */ color: rgb(35, 47, 91);
/* oklch */ color: oklch(31.9% 0.080 269.9);
Tailwind
colors: {
  custom: {
    50: '#63678a',
    500: '#232f5b',
    950: '#000000',
  },
}
SCSS
$custom: #232f5b;
$custom-light: #63678a;
$custom-dark: #000000;
JSON
{
  "hex": "#232f5b",
  "rgb": {
    "r": 35,
    "g": 47,
    "b": 91
  },
  "hsl": {
    "h": 227.143,
    "s": 44.444,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31932,
    "c": 0.07986,
    "h": 269.9
  },
  "luminance": 0.03146
}

Semantic roles & 50–950 ramp

primary
#232F5B
secondary
#8F804B
accent
#B954D4
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #232F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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