#232A4F#232A4F

#232A4F is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.9% C 0.068 H 273.6°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#232A4F
RGBrgb(35, 42, 79)
HSLhsl(230, 39%, 22%)
HSVhsv(230, 56%, 31%)
CMYKcmyk(55.7%, 46.8%, 0%, 69%)
CIE-LABlab(18.27, 9.11, -23.77)
CIE-LCHlch(18.27, 25.45, 290.98°)
OKLaboklab(29.88% 0.0042 -0.0674)
OKLCHoklch(29.88% 0.068 273.6)
XYZxyz(2.9319, 2.5776, 7.7386)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232A4F #4F4823
analogous
#23404F #232A4F #32234F
triadic
#232A4F #4F232A #2A4F23
tetradic
#232A4F #4F2340 #4F4823 #234F32
square
#232A4F #4F2340 #4F4823 #234F32
split-complementary
#232A4F #4F3223 #404F23
monochromatic
#090B15 #101325 #232A4F #364179 #4957A4

Accessibility & contrast

On white

13.86
#232A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#232A4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232A4F
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232A4F#FFFFFF#000000##FFFFFF
##232A4F1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2F50
Deuteranopia (green-blind)
#162B4E
Tritanopia (blue-blind)
#103238
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #232a4f;
/* rgb */ color: rgb(35, 42, 79);
/* oklch */ color: oklch(29.9% 0.068 273.6);
Tailwind
colors: {
  custom: {
    50: '#616380',
    500: '#232a4f',
    950: '#000000',
  },
}
SCSS
$custom: #232a4f;
$custom-light: #616380;
$custom-dark: #000000;
JSON
{
  "hex": "#232a4f",
  "rgb": {
    "r": 35,
    "g": 42,
    "b": 79
  },
  "hsl": {
    "h": 230.455,
    "s": 38.596,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29878,
    "c": 0.06752,
    "h": 273.6
  },
  "luminance": 0.02578
}

Semantic roles & 50–950 ramp

primary
#232A4F
secondary
#837A4B
accent
#BC59CF
background
#F5F5F7
surface
#EAEAEE
border
#C6C6C9
text
#05050A
muted
#79797C

Preview Lab

Preview with #232A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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