#0E255A#0E255A

#0E255A is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.3% C 0.100 H 263.6°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#0E255A
RGBrgb(14, 37, 90)
HSLhsl(222, 73%, 20%)
HSVhsv(222, 84%, 35%)
CMYKcmyk(84.4%, 58.9%, 0%, 64.7%)
CIE-LABlab(16.28, 13.20, -34.42)
CIE-LCHlch(16.28, 36.86, 290.98°)
OKLaboklab(28.29% -0.0112 -0.0993)
OKLCHoklch(28.29% 0.1 263.6)
XYZxyz(2.6875, 2.1544, 9.9451)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E255A #5A430E
analogous
#0E4B5A #0E255A #1D0E5A
triadic
#0E255A #5A0E25 #255A0E
tetradic
#0E255A #5A0E4B #5A430E #0E5A1D
square
#0E255A #5A0E4B #5A430E #0E5A1D
split-complementary
#0E255A #5A1D0E #4B5A0E
monochromatic
#040B1A #060F25 #0E255A #163B8F #1E51C4

Accessibility & contrast

On white

14.68
#0E255A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E255A
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E255A#FFFFFF#000000##FFFFFF
##0E255A1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5C
Deuteranopia (green-blind)
#002559
Tritanopia (blue-blind)
#00323B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0e255a;
/* rgb */ color: rgb(14, 37, 90);
/* oklch */ color: oklch(28.3% 0.100 263.6);
Tailwind
colors: {
  custom: {
    50: '#5b5f89',
    500: '#0e255a',
    950: '#000000',
  },
}
SCSS
$custom: #0e255a;
$custom-light: #5b5f89;
$custom-dark: #000000;
JSON
{
  "hex": "#0e255a",
  "rgb": {
    "r": 14,
    "g": 37,
    "b": 90
  },
  "hsl": {
    "h": 221.842,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28294,
    "c": 0.0999,
    "h": 263.6
  },
  "luminance": 0.02155
}

Semantic roles & 50–950 ramp

primary
#0E255A
secondary
#947630
accent
#B838F0
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0E255A

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

Preview Lab → · Contrast checker → · Palette generator →

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