#0E387B#0E387B

#0E387B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 35.6% C 0.123 H 259.8°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#0E387B
RGBrgb(14, 56, 123)
HSLhsl(217, 80%, 27%)
HSVhsv(217, 89%, 48%)
CMYKcmyk(88.6%, 54.5%, 0%, 51.8%)
CIE-LABlab(24.80, 13.57, -42.01)
CIE-LCHlch(24.80, 44.15, 287.91°)
OKLaboklab(35.62% -0.0217 -0.1212)
OKLCHoklch(35.62% 0.123 259.8)
XYZxyz(5.1691, 4.3511, 19.3025)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E387B #7B510E
analogous
#0E6F7B #0E387B #1B0E7B
triadic
#0E387B #7B0E38 #387B0E
tetradic
#0E387B #7B0E6F #7B510E #0E7B1B
square
#0E387B #7B0E6F #7B510E #0E7B1B
split-complementary
#0E387B #7B1B0E #6F7B0E
monochromatic
#030D1B #081F44 #0E387B #1451B2 #1E6BE5

Accessibility & contrast

On white

11.23
#0E387B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#0E387B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E387B
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E387B#FFFFFF#000000##FFFFFF
##0E387B1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06407D
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0e387b;
/* rgb */ color: rgb(14, 56, 123);
/* oklch */ color: oklch(35.6% 0.123 259.8);
Tailwind
colors: {
  custom: {
    50: '#636ea2',
    500: '#0e387b',
    950: '#000000',
  },
}
SCSS
$custom: #0e387b;
$custom-light: #636ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#0e387b",
  "rgb": {
    "r": 14,
    "g": 56,
    "b": 123
  },
  "hsl": {
    "h": 216.881,
    "s": 79.562,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3562,
    "c": 0.12311,
    "h": 259.8
  },
  "luminance": 0.04352
}

Semantic roles & 50–950 ramp

primary
#0E387B
secondary
#B28133
accent
#AA32F6
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #0E387B

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

Preview Lab → · Contrast checker → · Palette generator →

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