#08234B#08234B

#08234B is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.2% C 0.081 H 258.6°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#08234B
RGBrgb(8, 35, 75)
HSLhsl(216, 81%, 16%)
HSVhsv(216, 89%, 29%)
CMYKcmyk(89.3%, 53.3%, 0%, 70.6%)
CIE-LABlab(14.18, 7.27, -27.67)
CIE-LCHlch(14.18, 28.61, 284.72°)
OKLaboklab(26.24% -0.0161 -0.0795)
OKLCHoklch(26.24% 0.081 258.6)
XYZxyz(1.9707, 1.7614, 6.8914)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08234B #4B3008
analogous
#08454B #08234B #0F084B
triadic
#08234B #4B0823 #234B08
tetradic
#08234B #4B0845 #4B3008 #084B0F
square
#08234B #4B0845 #4B3008 #084B0F
split-complementary
#08234B #4B0F08 #454B08
monochromatic
#030D1C #030D1C #08234B #0E3D82 #1457BA

Accessibility & contrast

On white

15.53
#08234B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#08234B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08234B
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08234B#FFFFFF#000000##FFFFFF
##08234B1.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C274C
Deuteranopia (green-blind)
#00214A
Tritanopia (blue-blind)
#002D33
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #08234b;
/* rgb */ color: rgb(8, 35, 75);
/* oklch */ color: oklch(26.2% 0.081 258.6);
Tailwind
colors: {
  custom: {
    50: '#555d7d',
    500: '#08234b',
    950: '#000000',
  },
}
SCSS
$custom: #08234b;
$custom-light: #555d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#08234b",
  "rgb": {
    "r": 8,
    "g": 35,
    "b": 75
  },
  "hsl": {
    "h": 215.821,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26244,
    "c": 0.08116,
    "h": 258.6
  },
  "luminance": 0.01762
}

Semantic roles & 50–950 ramp

primary
#08234B
secondary
#896126
accent
#A731F7
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #08234B

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

Preview Lab → · Contrast checker → · Palette generator →

#08234B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva