#0E3A7E#0E3A7E

#0E3A7E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.3% C 0.125 H 259.5°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#0E3A7E
RGBrgb(14, 58, 126)
HSLhsl(216, 80%, 27%)
HSVhsv(216, 89%, 49%)
CMYKcmyk(88.9%, 54%, 0%, 50.6%)
CIE-LABlab(25.64, 13.43, -42.54)
CIE-LCHlch(25.64, 44.61, 287.52°)
OKLaboklab(36.33% -0.0228 -0.1227)
OKLCHoklch(36.33% 0.125 259.5)
XYZxyz(5.4587, 4.6251, 20.3397)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E3A7E #7E520E
analogous
#0E727E #0E3A7E #1A0E7E
triadic
#0E3A7E #7E0E3A #3A7E0E
tetradic
#0E3A7E #7E0E72 #7E520E #0E7E1A
square
#0E3A7E #7E0E72 #7E520E #0E7E1A
split-complementary
#0E3A7E #7E1A0E #727E0E
monochromatic
#030D1C #082147 #0E3A7E #1453B5 #206EE6

Accessibility & contrast

On white

10.91
#0E3A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#0E3A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E3A7E
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E3A7E#FFFFFF#000000##FFFFFF
##0E3A7E1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084280
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0e3a7e;
/* rgb */ color: rgb(14, 58, 126);
/* oklch */ color: oklch(36.3% 0.125 259.5);
Tailwind
colors: {
  custom: {
    50: '#646fa4',
    500: '#0e3a7e',
    950: '#000000',
  },
}
SCSS
$custom: #0e3a7e;
$custom-light: #646fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#0e3a7e",
  "rgb": {
    "r": 14,
    "g": 58,
    "b": 126
  },
  "hsl": {
    "h": 216.429,
    "s": 80,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36334,
    "c": 0.12479,
    "h": 259.5
  },
  "luminance": 0.04626
}

Semantic roles & 50–950 ramp

primary
#0E3A7E
secondary
#B58233
accent
#A931F6
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #0E3A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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