#232F59#232F59

#232F59 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.077 H 269.6°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#232F59
RGBrgb(35, 47, 89)
HSLhsl(227, 44%, 24%)
HSVhsv(227, 61%, 35%)
CMYKcmyk(60.7%, 47.2%, 0%, 65.1%)
CIE-LABlab(20.48, 9.28, -26.92)
CIE-LCHlch(20.48, 28.48, 289.02°)
OKLaboklab(31.79% -0.0005 -0.0766)
OKLCHoklch(31.79% 0.077 269.6)
XYZxyz(3.5122, 3.1114, 9.8647)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232F59 #594D23
analogous
#234A59 #232F59 #322359
triadic
#232F59 #59232F #2F5923
tetradic
#232F59 #59234A #594D23 #235932
square
#232F59 #59234A #594D23 #235932
split-complementary
#232F59 #593223 #4A5923
monochromatic
#090C16 #12182D #232F59 #344685 #465DB1

Accessibility & contrast

On white

12.94
#232F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232F59
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232F59#FFFFFF#000000##FFFFFF
##232F591.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D345B
Deuteranopia (green-blind)
#162F58
Tritanopia (blue-blind)
#03383F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #232f59;
/* rgb */ color: rgb(35, 47, 89);
/* oklch */ color: oklch(31.8% 0.077 269.6);
Tailwind
colors: {
  custom: {
    50: '#636788',
    500: '#232f59',
    950: '#000000',
  },
}
SCSS
$custom: #232f59;
$custom-light: #636788;
$custom-dark: #000000;
JSON
{
  "hex": "#232f59",
  "rgb": {
    "r": 35,
    "g": 47,
    "b": 89
  },
  "hsl": {
    "h": 226.667,
    "s": 43.548,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31787,
    "c": 0.07659,
    "h": 269.6
  },
  "luminance": 0.03112
}

Semantic roles & 50–950 ramp

primary
#232F59
secondary
#8D7E4B
accent
#B755D3
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060B
muted
#7A7A7C

Preview Lab

Preview with #232F59

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

Preview Lab → · Contrast checker → · Palette generator →

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