#232C57#232C57

#232C57 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.9% C 0.078 H 272.2°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#232C57
RGBrgb(35, 44, 87)
HSLhsl(230, 43%, 24%)
HSVhsv(230, 60%, 34%)
CMYKcmyk(59.8%, 49.4%, 0%, 65.9%)
CIE-LABlab(19.42, 10.67, -27.29)
CIE-LCHlch(19.42, 29.31, 291.36°)
OKLaboklab(30.93% 0.003 -0.0777)
OKLCHoklch(30.93% 0.078 272.2)
XYZxyz(3.3136, 2.8466, 9.3898)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232C57 #574E23
analogous
#234657 #232C57 #342357
triadic
#232C57 #57232C #2C5723
tetradic
#232C57 #572346 #574E23 #235734
square
#232C57 #572346 #574E23 #235734
split-complementary
#232C57 #573423 #465723
monochromatic
#090B16 #11162B #232C57 #354283 #4658AE

Accessibility & contrast

On white

13.38
#232C57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#232C57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232C57
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232C57#FFFFFF#000000##FFFFFF
##232C571.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193159
Deuteranopia (green-blind)
#122D56
Tritanopia (blue-blind)
#07353D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #232c57;
/* rgb */ color: rgb(35, 44, 87);
/* oklch */ color: oklch(30.9% 0.078 272.2);
Tailwind
colors: {
  custom: {
    50: '#636487',
    500: '#232c57',
    950: '#000000',
  },
}
SCSS
$custom: #232c57;
$custom-light: #636487;
$custom-dark: #000000;
JSON
{
  "hex": "#232c57",
  "rgb": {
    "r": 35,
    "g": 44,
    "b": 87
  },
  "hsl": {
    "h": 229.615,
    "s": 42.623,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3093,
    "c": 0.07778,
    "h": 272.2
  },
  "luminance": 0.02847
}

Semantic roles & 50–950 ramp

primary
#232C57
secondary
#8B804B
accent
#BD55D2
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#05050B
muted
#7A7A7C

Preview Lab

Preview with #232C57

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

Preview Lab → · Contrast checker → · Palette generator →

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