#232F57#232F57

#232F57 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.6% C 0.073 H 269.3°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#232F57
RGBrgb(35, 47, 87)
HSLhsl(226, 43%, 24%)
HSVhsv(226, 60%, 34%)
CMYKcmyk(59.8%, 46%, 0%, 65.9%)
CIE-LABlab(20.35, 8.52, -25.80)
CIE-LCHlch(20.35, 27.17, 288.27°)
OKLaboklab(31.65% -0.0009 -0.0733)
OKLCHoklch(31.65% 0.073 269.3)
XYZxyz(3.4294, 3.0782, 9.4284)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232F57 #574B23
analogous
#234957 #232F57 #312357
triadic
#232F57 #57232F #2F5723
tetradic
#232F57 #572349 #574B23 #235731
square
#232F57 #572349 #574B23 #235731
split-complementary
#232F57 #573123 #495723
monochromatic
#090C16 #11172B #232F57 #354783 #465EAE

Accessibility & contrast

On white

13.00
#232F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#232F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232F57
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232F57#FFFFFF#000000##FFFFFF
##232F571.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3459
Deuteranopia (green-blind)
#182F56
Tritanopia (blue-blind)
#06383E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #232f57;
/* rgb */ color: rgb(35, 47, 87);
/* oklch */ color: oklch(31.6% 0.073 269.3);
Tailwind
colors: {
  custom: {
    50: '#636786',
    500: '#232f57',
    950: '#000000',
  },
}
SCSS
$custom: #232f57;
$custom-light: #636786;
$custom-dark: #000000;
JSON
{
  "hex": "#232f57",
  "rgb": {
    "r": 35,
    "g": 47,
    "b": 87
  },
  "hsl": {
    "h": 226.154,
    "s": 42.623,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31645,
    "c": 0.07332,
    "h": 269.3
  },
  "luminance": 0.03078
}

Semantic roles & 50–950 ramp

primary
#232F57
secondary
#8B7C4B
accent
#B655D2
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#05060B
muted
#7A7A7C

Preview Lab

Preview with #232F57

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

Preview Lab → · Contrast checker → · Palette generator →

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