#232D59#232D59

#232D59 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.3% C 0.080 H 271.5°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#232D59
RGBrgb(35, 45, 89)
HSLhsl(229, 44%, 24%)
HSVhsv(229, 61%, 35%)
CMYKcmyk(60.7%, 49.4%, 0%, 65.1%)
CIE-LABlab(19.86, 10.71, -27.91)
CIE-LCHlch(19.86, 29.90, 291.00°)
OKLaboklab(31.31% 0.0021 -0.0795)
OKLCHoklch(31.31% 0.08 271.5)
XYZxyz(3.4341, 2.9551, 9.8387)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232D59 #594F23
analogous
#234859 #232D59 #342359
triadic
#232D59 #59232D #2D5923
tetradic
#232D59 #592348 #594F23 #235934
square
#232D59 #592348 #594F23 #235934
split-complementary
#232D59 #593423 #485923
monochromatic
#090B16 #12172D #232D59 #344385 #4659B1

Accessibility & contrast

On white

13.20
#232D59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#232D59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232D59
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232D59#FFFFFF#000000##FFFFFF
##232D591.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19325B
Deuteranopia (green-blind)
#122E58
Tritanopia (blue-blind)
#04373E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #232d59;
/* rgb */ color: rgb(35, 45, 89);
/* oklch */ color: oklch(31.3% 0.080 271.5);
Tailwind
colors: {
  custom: {
    50: '#636588',
    500: '#232d59',
    950: '#000000',
  },
}
SCSS
$custom: #232d59;
$custom-light: #636588;
$custom-dark: #000000;
JSON
{
  "hex": "#232d59",
  "rgb": {
    "r": 35,
    "g": 45,
    "b": 89
  },
  "hsl": {
    "h": 228.889,
    "s": 43.548,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31313,
    "c": 0.07956,
    "h": 271.5
  },
  "luminance": 0.02955
}

Semantic roles & 50–950 ramp

primary
#232D59
secondary
#8D814B
accent
#BC55D3
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05050B
muted
#7A7A7C

Preview Lab

Preview with #232D59

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

Preview Lab → · Contrast checker → · Palette generator →

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