#232E56#232E56

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

Color values

HEX#232E56
RGBrgb(35, 46, 86)
HSLhsl(227, 42%, 24%)
HSVhsv(227, 59%, 34%)
CMYKcmyk(59.3%, 46.5%, 0%, 66.3%)
CIE-LABlab(19.98, 8.86, -25.74)
CIE-LCHlch(19.98, 27.22, 288.99°)
OKLaboklab(31.33% 0.0002 -0.0731)
OKLCHoklch(31.33% 0.073 270.2)
XYZxyz(3.3493, 2.9830, 9.2016)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232E56 #564B23
analogous
#234756 #232E56 #312356
triadic
#232E56 #56232E #2E5623
tetradic
#232E56 #562347 #564B23 #235631
square
#232E56 #562347 #564B23 #235631
split-complementary
#232E56 #563123 #475623
monochromatic
#090C16 #11172B #232E56 #354581 #465DAD

Accessibility & contrast

On white

13.15
#232E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232E56
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232E56#FFFFFF#000000##FFFFFF
##232E561.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3358
Deuteranopia (green-blind)
#172E55
Tritanopia (blue-blind)
#08373D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #232e56;
/* rgb */ color: rgb(35, 46, 86);
/* oklch */ color: oklch(31.3% 0.073 270.2);
Tailwind
colors: {
  custom: {
    50: '#626686',
    500: '#232e56',
    950: '#000000',
  },
}
SCSS
$custom: #232e56;
$custom-light: #626686;
$custom-dark: #000000;
JSON
{
  "hex": "#232e56",
  "rgb": {
    "r": 35,
    "g": 46,
    "b": 86
  },
  "hsl": {
    "h": 227.059,
    "s": 42.149,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31334,
    "c": 0.07314,
    "h": 270.2
  },
  "luminance": 0.02983
}

Semantic roles & 50–950 ramp

primary
#232E56
secondary
#8A7C4B
accent
#B756D2
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#05050B
muted
#7A7A7C

Preview Lab

Preview with #232E56

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

Preview Lab → · Contrast checker → · Palette generator →

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