#232F6F#232F6F

#232F6F is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.5% C 0.111 H 271.1°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#232F6F
RGBrgb(35, 47, 111)
HSLhsl(231, 52%, 29%)
HSVhsv(231, 68%, 44%)
CMYKcmyk(68.5%, 57.7%, 0%, 56.5%)
CIE-LABlab(22.08, 17.78, -38.72)
CIE-LCHlch(22.08, 42.61, 294.67°)
OKLaboklab(33.51% 0.0022 -0.1113)
OKLCHoklch(33.51% 0.111 271.1)
XYZxyz(4.5779, 3.5376, 15.4774)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232F6F #6F6323
analogous
#23556F #232F6F #3D236F
triadic
#232F6F #6F232F #2F6F23
tetradic
#232F6F #6F2355 #6F6323 #236F3D
square
#232F6F #6F2355 #6F6323 #236F3D
split-complementary
#232F6F #6F3D23 #556F23
monochromatic
#070A17 #141B40 #232F6F #32439E #475BC5

Accessibility & contrast

On white

12.30
#232F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#232F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232F6F
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232F6F#FFFFFF#000000##FFFFFF
##232F6F1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #232f6f;
/* rgb */ color: rgb(35, 47, 111);
/* oklch */ color: oklch(33.5% 0.111 271.1);
Tailwind
colors: {
  custom: {
    50: '#686799',
    500: '#232f6f',
    950: '#000000',
  },
}
SCSS
$custom: #232f6f;
$custom-light: #686799;
$custom-dark: #000000;
JSON
{
  "hex": "#232f6f",
  "rgb": {
    "r": 35,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 230.526,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33507,
    "c": 0.11131,
    "h": 271.1
  },
  "luminance": 0.03538
}

Semantic roles & 50–950 ramp

primary
#232F6F
secondary
#A2954C
accent
#C54CDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #232F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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