#0E2959#0E2959

#0E2959 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.2% C 0.093 H 260.9°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#0E2959
RGBrgb(14, 41, 89)
HSLhsl(218, 73%, 20%)
HSVhsv(218, 84%, 35%)
CMYKcmyk(84.3%, 53.9%, 0%, 65.1%)
CIE-LABlab(17.46, 9.76, -31.84)
CIE-LCHlch(17.46, 33.30, 287.05°)
OKLaboklab(29.17% -0.0147 -0.0916)
OKLCHoklch(29.17% 0.093 260.9)
XYZxyz(2.7766, 2.4002, 9.7662)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2959 #593E0E
analogous
#0E4E59 #0E2959 #180E59
triadic
#0E2959 #590E29 #29590E
tetradic
#0E2959 #590E4E #593E0E #0E5918
square
#0E2959 #590E4E #593E0E #0E5918
split-complementary
#0E2959 #59180E #4E590E
monochromatic
#040C1A #061124 #0E2959 #16418E #1F5AC3

Accessibility & contrast

On white

14.19
#0E2959 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0E2959 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2959
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2959#FFFFFF#000000##FFFFFF
##0E29591.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2E5B
Deuteranopia (green-blind)
#002858
Tritanopia (blue-blind)
#00353C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0e2959;
/* rgb */ color: rgb(14, 41, 89);
/* oklch */ color: oklch(29.2% 0.093 260.9);
Tailwind
colors: {
  custom: {
    50: '#5a6288',
    500: '#0e2959',
    950: '#000000',
  },
}
SCSS
$custom: #0e2959;
$custom-light: #5a6288;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2959",
  "rgb": {
    "r": 14,
    "g": 41,
    "b": 89
  },
  "hsl": {
    "h": 218.4,
    "s": 72.816,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29168,
    "c": 0.09276,
    "h": 260.9
  },
  "luminance": 0.02401
}

Semantic roles & 50–950 ramp

primary
#0E2959
secondary
#936F30
accent
#AE38F0
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04050B
muted
#79797C

Preview Lab

Preview with #0E2959

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

Preview Lab → · Contrast checker → · Palette generator →

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