#0E2150#0E2150

#0E2150 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.4% C 0.090 H 264.4°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#0E2150
RGBrgb(14, 33, 80)
HSLhsl(223, 70%, 18%)
HSVhsv(223, 83%, 31%)
CMYKcmyk(82.5%, 58.8%, 0%, 68.6%)
CIE-LABlab(14.17, 11.84, -31.09)
CIE-LCHlch(14.17, 33.26, 290.85°)
OKLaboklab(26.43% -0.0087 -0.0895)
OKLCHoklch(26.43% 0.09 264.4)
XYZxyz(2.1724, 1.7600, 7.8131)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2150 #503D0E
analogous
#0E4250 #0E2150 #1C0E50
triadic
#0E2150 #500E21 #21500E
tetradic
#0E2150 #500E42 #503D0E #0E501C
square
#0E2150 #500E42 #503D0E #0E501C
split-complementary
#0E2150 #501C0E #42500E
monochromatic
#050B1A #050C1C #0E2150 #173684 #204CB8

Accessibility & contrast

On white

15.53
#0E2150 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0E2150 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2150
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2150#FFFFFF#000000##FFFFFF
##0E21501.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)
#012752
Deuteranopia (green-blind)
#00214F
Tritanopia (blue-blind)
#002C34
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0e2150;
/* rgb */ color: rgb(14, 33, 80);
/* oklch */ color: oklch(26.4% 0.090 264.4);
Tailwind
colors: {
  custom: {
    50: '#585b81',
    500: '#0e2150',
    950: '#000000',
  },
}
SCSS
$custom: #0e2150;
$custom-light: #585b81;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2150",
  "rgb": {
    "r": 14,
    "g": 33,
    "b": 80
  },
  "hsl": {
    "h": 222.727,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.26434,
    "c": 0.08998,
    "h": 264.4
  },
  "luminance": 0.0176
}

Semantic roles & 50–950 ramp

primary
#0E2150
secondary
#8B702F
accent
#BA3BED
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0E2150

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

Preview Lab → · Contrast checker → · Palette generator →

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