#232A4E#232A4E

#232A4E is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.8% C 0.066 H 273.5°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#232A4E
RGBrgb(35, 42, 78)
HSLhsl(230, 38%, 22%)
HSVhsv(230, 55%, 31%)
CMYKcmyk(55.1%, 46.2%, 0%, 69.4%)
CIE-LABlab(18.20, 8.74, -23.19)
CIE-LCHlch(18.20, 24.79, 290.66°)
OKLaboklab(29.81% 0.004 -0.0657)
OKLCHoklch(29.81% 0.066 273.5)
XYZxyz(2.8958, 2.5631, 7.5484)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232A4E #4E4723
analogous
#23404E #232A4E #32234E
triadic
#232A4E #4E232A #2A4E23
tetradic
#232A4E #4E2340 #4E4723 #234E32
square
#232A4E #4E2340 #4E4723 #234E32
split-complementary
#232A4E #4E3223 #404E23
monochromatic
#090B15 #101324 #232A4E #364178 #4957A2

Accessibility & contrast

On white

13.88
#232A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#232A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232A4E
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232A4E#FFFFFF#000000##FFFFFF
##232A4E1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2E4F
Deuteranopia (green-blind)
#172B4D
Tritanopia (blue-blind)
#113238
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #232a4e;
/* rgb */ color: rgb(35, 42, 78);
/* oklch */ color: oklch(29.8% 0.066 273.5);
Tailwind
colors: {
  custom: {
    50: '#616380',
    500: '#232a4e',
    950: '#000000',
  },
}
SCSS
$custom: #232a4e;
$custom-light: #616380;
$custom-dark: #000000;
JSON
{
  "hex": "#232a4e",
  "rgb": {
    "r": 35,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 230.233,
    "s": 38.053,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29808,
    "c": 0.06583,
    "h": 273.5
  },
  "luminance": 0.02563
}

Semantic roles & 50–950 ramp

primary
#232A4E
secondary
#82794B
accent
#BB5ACE
background
#F5F5F7
surface
#EAEAEE
border
#C6C6C9
text
#05050A
muted
#79797C

Preview Lab

Preview with #232A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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