#232F74#232F74

#232F74 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.119 H 271.2°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#232F74
RGBrgb(35, 47, 116)
HSLhsl(231, 54%, 30%)
HSVhsv(231, 70%, 45%)
CMYKcmyk(69.8%, 59.5%, 0%, 54.5%)
CIE-LABlab(22.48, 19.72, -41.28)
CIE-LCHlch(22.48, 45.75, 295.54°)
OKLaboklab(33.93% 0.0024 -0.1188)
OKLCHoklch(33.93% 0.119 271.2)
XYZxyz(4.8610, 3.6509, 16.9681)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232F74 #746823
analogous
#235874 #232F74 #402374
triadic
#232F74 #74232F #2F7423
tetradic
#232F74 #742358 #746823 #237440
square
#232F74 #742358 #746823 #237440
split-complementary
#232F74 #744023 #587423
monochromatic
#070A18 #151C45 #232F74 #3142A3 #495CC8

Accessibility & contrast

On white

12.14
#232F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#232F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232F74
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232F74#FFFFFF#000000##FFFFFF
##232F741.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #232f74;
/* rgb */ color: rgb(35, 47, 116);
/* oklch */ color: oklch(33.9% 0.119 271.2);
Tailwind
colors: {
  custom: {
    50: '#69679d',
    500: '#232f74',
    950: '#000000',
  },
}
SCSS
$custom: #232f74;
$custom-light: #69679d;
$custom-dark: #000000;
JSON
{
  "hex": "#232f74",
  "rgb": {
    "r": 35,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 231.111,
    "s": 53.642,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33935,
    "c": 0.11883,
    "h": 271.2
  },
  "luminance": 0.03651
}

Semantic roles & 50–950 ramp

primary
#232F74
secondary
#A7994C
accent
#C74BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #232F74

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

Preview Lab → · Contrast checker → · Palette generator →

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