#232E5F#232E5F

#232E5F is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.0% C 0.088 H 271.2°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#232E5F
RGBrgb(35, 46, 95)
HSLhsl(229, 46%, 25%)
HSVhsv(229, 63%, 37%)
CMYKcmyk(63.2%, 51.6%, 0%, 62.7%)
CIE-LABlab(20.59, 12.29, -30.72)
CIE-LCHlch(20.59, 33.09, 291.81°)
OKLaboklab(32% 0.0018 -0.0878)
OKLCHoklch(32% 0.088 271.2)
XYZxyz(3.7350, 3.1372, 11.2330)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232E5F #5F5423
analogous
#234C5F #232E5F #36235F
triadic
#232E5F #5F232E #2E5F23
tetradic
#232E5F #5F234C #5F5423 #235F36
square
#232E5F #5F234C #5F5423 #235F36
split-complementary
#232E5F #5F3623 #4C5F23
monochromatic
#080B16 #131832 #232E5F #33448C #4459B8

Accessibility & contrast

On white

12.90
#232E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#232E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232E5F
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232E5F#FFFFFF#000000##FFFFFF
##232E5F1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163461
Deuteranopia (green-blind)
#0C2F5E
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #232e5f;
/* rgb */ color: rgb(35, 46, 95);
/* oklch */ color: oklch(32.0% 0.088 271.2);
Tailwind
colors: {
  custom: {
    50: '#64668d',
    500: '#232e5f',
    950: '#000000',
  },
}
SCSS
$custom: #232e5f;
$custom-light: #64668d;
$custom-dark: #000000;
JSON
{
  "hex": "#232e5f",
  "rgb": {
    "r": 35,
    "g": 46,
    "b": 95
  },
  "hsl": {
    "h": 229,
    "s": 46.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31996,
    "c": 0.08779,
    "h": 271.2
  },
  "luminance": 0.03138
}

Semantic roles & 50–950 ramp

primary
#232E5F
secondary
#93864B
accent
#BE52D6
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #232E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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