#0E397F#0E397F

#0E397F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.2% C 0.128 H 260.1°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#0E397F
RGBrgb(14, 57, 127)
HSLhsl(217, 80%, 28%)
HSVhsv(217, 89%, 50%)
CMYKcmyk(89%, 55.1%, 0%, 50.2%)
CIE-LABlab(25.42, 14.57, -43.53)
CIE-LCHlch(25.42, 45.90, 288.50°)
OKLaboklab(36.19% -0.0219 -0.1256)
OKLCHoklch(36.19% 0.128 260.1)
XYZxyz(5.4736, 4.5512, 20.6645)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E397F #7F540E
analogous
#0E727F #0E397F #1B0E7F
triadic
#0E397F #7F0E39 #397F0E
tetradic
#0E397F #7F0E72 #7F540E #0E7F1B
square
#0E397F #7F0E72 #7F540E #0E7F1B
split-complementary
#0E397F #7F1B0E #727F0E
monochromatic
#030C1C #082048 #0E397F #1452B6 #216CE7

Accessibility & contrast

On white

10.99
#0E397F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#0E397F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E397F
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E397F#FFFFFF#000000##FFFFFF
##0E397F1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014281
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#004A56
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0e397f;
/* rgb */ color: rgb(14, 57, 127);
/* oklch */ color: oklch(36.2% 0.128 260.1);
Tailwind
colors: {
  custom: {
    50: '#646ea5',
    500: '#0e397f',
    950: '#000000',
  },
}
SCSS
$custom: #0e397f;
$custom-light: #646ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#0e397f",
  "rgb": {
    "r": 14,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 217.168,
    "s": 80.142,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36189,
    "c": 0.12753,
    "h": 260.1
  },
  "luminance": 0.04552
}

Semantic roles & 50–950 ramp

primary
#0E397F
secondary
#B68433
accent
#AB31F7
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #0E397F

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

Preview Lab → · Contrast checker → · Palette generator →

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