#0E387F#0E387F

#0E387F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.0% C 0.129 H 260.5°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#0E387F
RGBrgb(14, 56, 127)
HSLhsl(218, 80%, 28%)
HSVhsv(218, 89%, 50%)
CMYKcmyk(89%, 55.9%, 0%, 50.2%)
CIE-LABlab(25.12, 15.28, -44.01)
CIE-LCHlch(25.12, 46.59, 289.14°)
OKLaboklab(35.96% -0.0213 -0.1271)
OKLCHoklch(35.96% 0.129 260.5)
XYZxyz(5.4246, 4.4533, 20.6482)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E387F #7F550E
analogous
#0E717F #0E387F #1C0E7F
triadic
#0E387F #7F0E38 #387F0E
tetradic
#0E387F #7F0E71 #7F550E #0E7F1C
square
#0E387F #7F0E71 #7F550E #0E7F1C
split-complementary
#0E387F #7F1C0E #717F0E
monochromatic
#030C1C #082048 #0E387F #1450B6 #216AE7

Accessibility & contrast

On white

11.11
#0E387F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#0E387F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E387F
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E387F#FFFFFF#000000##FFFFFF
##0E387F1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0e387f;
/* rgb */ color: rgb(14, 56, 127);
/* oklch */ color: oklch(36.0% 0.129 260.5);
Tailwind
colors: {
  custom: {
    50: '#646ea5',
    500: '#0e387f',
    950: '#000000',
  },
}
SCSS
$custom: #0e387f;
$custom-light: #646ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#0e387f",
  "rgb": {
    "r": 14,
    "g": 56,
    "b": 127
  },
  "hsl": {
    "h": 217.699,
    "s": 80.142,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35962,
    "c": 0.12885,
    "h": 260.5
  },
  "luminance": 0.04454
}

Semantic roles & 50–950 ramp

primary
#0E387F
secondary
#B68533
accent
#AD31F7
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #0E387F

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

Preview Lab → · Contrast checker → · Palette generator →

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