#0E255B#0E255B

#0E255B is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.4% C 0.101 H 263.7°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#0E255B
RGBrgb(14, 37, 91)
HSLhsl(222, 73%, 21%)
HSVhsv(222, 85%, 36%)
CMYKcmyk(84.6%, 59.3%, 0%, 64.3%)
CIE-LABlab(16.36, 13.64, -34.95)
CIE-LCHlch(16.36, 37.51, 291.31°)
OKLaboklab(28.39% -0.0111 -0.1008)
OKLCHoklch(28.39% 0.101 263.7)
XYZxyz(2.7303, 2.1715, 10.1707)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E255B #5B440E
analogous
#0E4B5B #0E255B #1D0E5B
triadic
#0E255B #5B0E25 #255B0E
tetradic
#0E255B #5B0E4B #5B440E #0E5B1D
square
#0E255B #5B0E4B #5B440E #0E5B1D
split-complementary
#0E255B #5B1D0E #4B5B0E
monochromatic
#040B1B #060F26 #0E255B #163B90 #1E50C5

Accessibility & contrast

On white

14.64
#0E255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0E255B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E255B
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E255B#FFFFFF#000000##FFFFFF
##0E255B1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5D
Deuteranopia (green-blind)
#00255A
Tritanopia (blue-blind)
#00323C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0e255b;
/* rgb */ color: rgb(14, 37, 91);
/* oklch */ color: oklch(28.4% 0.101 263.7);
Tailwind
colors: {
  custom: {
    50: '#5b5f8a',
    500: '#0e255b',
    950: '#000000',
  },
}
SCSS
$custom: #0e255b;
$custom-light: #5b5f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#0e255b",
  "rgb": {
    "r": 14,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 222.078,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28385,
    "c": 0.10144,
    "h": 263.7
  },
  "luminance": 0.02172
}

Semantic roles & 50–950 ramp

primary
#0E255B
secondary
#957730
accent
#B938F0
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040C
muted
#79797D

Preview Lab

Preview with #0E255B

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

Preview Lab → · Contrast checker → · Palette generator →

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