#0E2240#0E2240

#0E2240 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.4% C 0.063 H 258.4°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#0E2240
RGBrgb(14, 34, 64)
HSLhsl(216, 64%, 15%)
HSVhsv(216, 78%, 25%)
CMYKcmyk(78.1%, 46.9%, 0%, 74.9%)
CIE-LABlab(13.28, 4.01, -21.48)
CIE-LCHlch(13.28, 21.86, 280.58°)
OKLaboklab(25.35% -0.0126 -0.0613)
OKLCHoklch(25.35% 0.063 258.4)
XYZxyz(1.6782, 1.6074, 5.0713)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2240 #402C0E
analogous
#0E3B40 #0E2240 #130E40
triadic
#0E2240 #400E22 #22400E
tetradic
#0E2240 #400E3B #402C0E #0E4013
square
#0E2240 #400E3B #402C0E #0E4013
split-complementary
#0E2240 #40130E #3B400E
monochromatic
#050D19 #050D19 #0E2240 #193D72 #2457A4

Accessibility & contrast

On white

15.89
#0E2240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0E2240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2240
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2240#FFFFFF#000000##FFFFFF
##0E22401.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142541
Deuteranopia (green-blind)
#0C203F
Tritanopia (blue-blind)
#00292D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0e2240;
/* rgb */ color: rgb(14, 34, 64);
/* oklch */ color: oklch(25.4% 0.063 258.4);
Tailwind
colors: {
  custom: {
    50: '#545c75',
    500: '#0e2240',
    950: '#000000',
  },
}
SCSS
$custom: #0e2240;
$custom-light: #545c75;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2240",
  "rgb": {
    "r": 14,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 216,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25352,
    "c": 0.06257,
    "h": 258.4
  },
  "luminance": 0.01608
}

Semantic roles & 50–950 ramp

primary
#0E2240
secondary
#7B5D2F
accent
#A541E7
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0E2240

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

Preview Lab → · Contrast checker → · Palette generator →

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