#232A56#232A56

#232A56 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.079 H 273.9°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#232A56
RGBrgb(35, 42, 86)
HSLhsl(232, 42%, 24%)
HSVhsv(232, 59%, 34%)
CMYKcmyk(59.3%, 51.2%, 0%, 66.3%)
CIE-LABlab(18.73, 11.74, -27.72)
CIE-LCHlch(18.73, 30.10, 292.95°)
OKLaboklab(30.39% 0.0054 -0.079)
OKLCHoklch(30.39% 0.079 273.9)
XYZxyz(3.2003, 2.6849, 9.1519)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232A56 #564F23
analogous
#234356 #232A56 #352356
triadic
#232A56 #56232A #2A5623
tetradic
#232A56 #562343 #564F23 #235635
square
#232A56 #562343 #564F23 #235635
split-complementary
#232A56 #563523 #435623
monochromatic
#090B16 #11152B #232A56 #353F81 #4654AD

Accessibility & contrast

On white

13.66
#232A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#232A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232A56
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232A56#FFFFFF#000000##FFFFFF
##232A561.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163058
Deuteranopia (green-blind)
#0F2C55
Tritanopia (blue-blind)
#09343B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #232a56;
/* rgb */ color: rgb(35, 42, 86);
/* oklch */ color: oklch(30.4% 0.079 273.9);
Tailwind
colors: {
  custom: {
    50: '#636386',
    500: '#232a56',
    950: '#000000',
  },
}
SCSS
$custom: #232a56;
$custom-light: #636386;
$custom-dark: #000000;
JSON
{
  "hex": "#232a56",
  "rgb": {
    "r": 35,
    "g": 42,
    "b": 86
  },
  "hsl": {
    "h": 231.765,
    "s": 42.149,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30387,
    "c": 0.07919,
    "h": 273.9
  },
  "luminance": 0.02685
}

Semantic roles & 50–950 ramp

primary
#232A56
secondary
#8A814B
accent
#C156D2
background
#F6F5F8
surface
#EBEAEF
border
#C6C6CA
text
#05050B
muted
#7A797C

Preview Lab

Preview with #232A56

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

Preview Lab → · Contrast checker → · Palette generator →

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