#232B51#232B51

#232B51 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.3% C 0.069 H 272.7°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#232B51
RGBrgb(35, 43, 81)
HSLhsl(230, 40%, 23%)
HSVhsv(230, 57%, 32%)
CMYKcmyk(56.8%, 46.9%, 0%, 68.2%)
CIE-LABlab(18.71, 9.13, -24.41)
CIE-LCHlch(18.71, 26.06, 290.52°)
OKLaboklab(30.26% 0.0032 -0.0693)
OKLCHoklch(30.26% 0.069 272.7)
XYZxyz(3.0417, 2.6790, 8.1398)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232B51 #514923
analogous
#234251 #232B51 #322351
triadic
#232B51 #51232B #2B5123
tetradic
#232B51 #512342 #514923 #235132
square
#232B51 #512342 #514923 #235132
split-complementary
#232B51 #513223 #425123
monochromatic
#090B15 #111426 #232B51 #35427C #4858A6

Accessibility & contrast

On white

13.67
#232B51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #232B51
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232B51#FFFFFF#000000##FFFFFF
##232B511.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3052
Deuteranopia (green-blind)
#162C50
Tritanopia (blue-blind)
#0E333A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #232b51;
/* rgb */ color: rgb(35, 43, 81);
/* oklch */ color: oklch(30.3% 0.069 272.7);
Tailwind
colors: {
  custom: {
    50: '#626482',
    500: '#232b51',
    950: '#000000',
  },
}
SCSS
$custom: #232b51;
$custom-light: #626482;
$custom-dark: #000000;
JSON
{
  "hex": "#232b51",
  "rgb": {
    "r": 35,
    "g": 43,
    "b": 81
  },
  "hsl": {
    "h": 229.565,
    "s": 39.655,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30259,
    "c": 0.06934,
    "h": 272.7
  },
  "luminance": 0.02679
}

Semantic roles & 50–950 ramp

primary
#232B51
secondary
#857B4B
accent
#BB58D0
background
#F5F5F7
surface
#EAEAEE
border
#C6C6C9
text
#05050A
muted
#79797C

Preview Lab

Preview with #232B51

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

Preview Lab → · Contrast checker → · Palette generator →

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