#0E235B#0E235B

#0E235B is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.9% C 0.104 H 264.8°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#0E235B
RGBrgb(14, 35, 91)
HSLhsl(224, 73%, 21%)
HSVhsv(224, 85%, 36%)
CMYKcmyk(84.6%, 61.5%, 0%, 64.3%)
CIE-LABlab(15.75, 15.14, -35.95)
CIE-LCHlch(15.75, 39.00, 292.84°)
OKLaboklab(27.92% -0.0095 -0.1038)
OKLCHoklch(27.92% 0.104 264.8)
XYZxyz(2.6698, 2.0504, 10.1506)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E235B #5B460E
analogous
#0E495B #0E235B #1F0E5B
triadic
#0E235B #5B0E23 #235B0E
tetradic
#0E235B #5B0E49 #5B460E #0E5B1F
square
#0E235B #5B0E49 #5B460E #0E5B1F
split-complementary
#0E235B #5B1F0E #495B0E
monochromatic
#040A1B #060F26 #0E235B #163790 #1E4CC5

Accessibility & contrast

On white

14.89
#0E235B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0E235B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E235B
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E235B#FFFFFF#000000##FFFFFF
##0E235B1.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5D
Deuteranopia (green-blind)
#00245A
Tritanopia (blue-blind)
#00313B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0e235b;
/* rgb */ color: rgb(14, 35, 91);
/* oklch */ color: oklch(27.9% 0.104 264.8);
Tailwind
colors: {
  custom: {
    50: '#5b5d8a',
    500: '#0e235b',
    950: '#000000',
  },
}
SCSS
$custom: #0e235b;
$custom-light: #5b5d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#0e235b",
  "rgb": {
    "r": 14,
    "g": 35,
    "b": 91
  },
  "hsl": {
    "h": 223.636,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.27923,
    "c": 0.10423,
    "h": 264.8
  },
  "luminance": 0.02051
}

Semantic roles & 50–950 ramp

primary
#0E235B
secondary
#957930
accent
#BE38F0
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040C
muted
#79797D

Preview Lab

Preview with #0E235B

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

Preview Lab → · Contrast checker → · Palette generator →

#0E235B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva