#0E2B5B#0E2B5B

#0E2B5B is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.8% C 0.093 H 260.0°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#0E2B5B
RGBrgb(14, 43, 91)
HSLhsl(217, 73%, 21%)
HSVhsv(217, 85%, 36%)
CMYKcmyk(84.6%, 52.7%, 0%, 64.3%)
CIE-LABlab(18.26, 9.15, -31.88)
CIE-LCHlch(18.26, 33.17, 286.02°)
OKLaboklab(29.83% -0.0161 -0.0917)
OKLCHoklch(29.83% 0.093 260)
XYZxyz(2.9326, 2.5761, 10.2382)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2B5B #5B3E0E
analogous
#0E515B #0E2B5B #180E5B
triadic
#0E2B5B #5B0E2B #2B5B0E
tetradic
#0E2B5B #5B0E51 #5B3E0E #0E5B18
square
#0E2B5B #5B0E51 #5B3E0E #0E5B18
split-complementary
#0E2B5B #5B180E #515B0E
monochromatic
#040D1B #061226 #0E2B5B #164490 #1E5DC5

Accessibility & contrast

On white

13.86
#0E2B5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0E2B5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2B5B
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2B5B#FFFFFF#000000##FFFFFF
##0E2B5B1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F305D
Deuteranopia (green-blind)
#00295A
Tritanopia (blue-blind)
#00373E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0e2b5b;
/* rgb */ color: rgb(14, 43, 91);
/* oklch */ color: oklch(29.8% 0.093 260.0);
Tailwind
colors: {
  custom: {
    50: '#5b638a',
    500: '#0e2b5b',
    950: '#000000',
  },
}
SCSS
$custom: #0e2b5b;
$custom-light: #5b638a;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2b5b",
  "rgb": {
    "r": 14,
    "g": 43,
    "b": 91
  },
  "hsl": {
    "h": 217.403,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29829,
    "c": 0.09308,
    "h": 260
  },
  "luminance": 0.02576
}

Semantic roles & 50–950 ramp

primary
#0E2B5B
secondary
#956F30
accent
#AB38F0
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #0E2B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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