#232E57#232E57

#232E57 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.075 H 270.3°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#232E57
RGBrgb(35, 46, 87)
HSLhsl(227, 43%, 24%)
HSVhsv(227, 60%, 34%)
CMYKcmyk(59.8%, 47.1%, 0%, 65.9%)
CIE-LABlab(20.04, 9.24, -26.30)
CIE-LCHlch(20.04, 27.88, 289.35°)
OKLaboklab(31.41% 0.0004 -0.0748)
OKLCHoklch(31.41% 0.075 270.3)
XYZxyz(3.3899, 2.9992, 9.4152)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232E57 #574C23
analogous
#234857 #232E57 #322357
triadic
#232E57 #57232E #2E5723
tetradic
#232E57 #572348 #574C23 #235732
square
#232E57 #572348 #574C23 #235732
split-complementary
#232E57 #573223 #485723
monochromatic
#090C16 #11172B #232E57 #354583 #465CAE

Accessibility & contrast

On white

13.13
#232E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#232E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232E57
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232E57#FFFFFF#000000##FFFFFF
##232E571.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3359
Deuteranopia (green-blind)
#162E56
Tritanopia (blue-blind)
#06373E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #232e57;
/* rgb */ color: rgb(35, 46, 87);
/* oklch */ color: oklch(31.4% 0.075 270.3);
Tailwind
colors: {
  custom: {
    50: '#636686',
    500: '#232e57',
    950: '#000000',
  },
}
SCSS
$custom: #232e57;
$custom-light: #636686;
$custom-dark: #000000;
JSON
{
  "hex": "#232e57",
  "rgb": {
    "r": 35,
    "g": 46,
    "b": 87
  },
  "hsl": {
    "h": 227.308,
    "s": 42.623,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31405,
    "c": 0.07479,
    "h": 270.3
  },
  "luminance": 0.02999
}

Semantic roles & 50–950 ramp

primary
#232E57
secondary
#8B7D4B
accent
#B855D2
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#05050B
muted
#7A7A7C

Preview Lab

Preview with #232E57

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

Preview Lab → · Contrast checker → · Palette generator →

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