#0E2A5C#0E2A5C

#0E2A5C is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.7% C 0.096 H 260.9°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#0E2A5C
RGBrgb(14, 42, 92)
HSLhsl(218, 74%, 21%)
HSVhsv(218, 85%, 36%)
CMYKcmyk(84.8%, 54.3%, 0%, 63.9%)
CIE-LABlab(18.02, 10.33, -32.93)
CIE-LCHlch(18.02, 34.52, 287.42°)
OKLaboklab(29.67% -0.0151 -0.0948)
OKLCHoklch(29.67% 0.096 260.9)
XYZxyz(2.9401, 2.5217, 10.4549)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2A5C #5C400E
analogous
#0E515C #0E2A5C #190E5C
triadic
#0E2A5C #5C0E2A #2A5C0E
tetradic
#0E2A5C #5C0E51 #5C400E #0E5C19
square
#0E2A5C #5C0E51 #5C400E #0E5C19
split-complementary
#0E2A5C #5C190E #515C0E
monochromatic
#040C1B #061227 #0E2A5C #164291 #1E5AC6

Accessibility & contrast

On white

13.96
#0E2A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#0E2A5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2A5C
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2A5C#FFFFFF#000000##FFFFFF
##0E2A5C1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A305E
Deuteranopia (green-blind)
#00295B
Tritanopia (blue-blind)
#00363E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0e2a5c;
/* rgb */ color: rgb(14, 42, 92);
/* oklch */ color: oklch(29.7% 0.096 260.9);
Tailwind
colors: {
  custom: {
    50: '#5b638b',
    500: '#0e2a5c',
    950: '#000000',
  },
}
SCSS
$custom: #0e2a5c;
$custom-light: #5b638b;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2a5c",
  "rgb": {
    "r": 14,
    "g": 42,
    "b": 92
  },
  "hsl": {
    "h": 218.462,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29668,
    "c": 0.096,
    "h": 260.9
  },
  "luminance": 0.02522
}

Semantic roles & 50–950 ramp

primary
#0E2A5C
secondary
#967130
accent
#AE38F0
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #0E2A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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