#0E2C5C#0E2C5C

#0E2C5C is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.093 H 259.6°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#0E2C5C
RGBrgb(14, 44, 92)
HSLhsl(217, 74%, 21%)
HSVhsv(217, 85%, 36%)
CMYKcmyk(84.8%, 52.2%, 0%, 63.9%)
CIE-LABlab(18.66, 8.85, -31.90)
CIE-LCHlch(18.66, 33.10, 285.51°)
OKLaboklab(30.16% -0.0169 -0.0917)
OKLCHoklch(30.16% 0.093 259.6)
XYZxyz(3.0128, 2.6671, 10.4791)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2C5C #5C3E0E
analogous
#0E535C #0E2C5C #170E5C
triadic
#0E2C5C #5C0E2C #2C5C0E
tetradic
#0E2C5C #5C0E53 #5C3E0E #0E5C17
square
#0E2C5C #5C0E53 #5C3E0E #0E5C17
split-complementary
#0E2C5C #5C170E #535C0E
monochromatic
#040D1B #061327 #0E2C5C #164591 #1E5FC6

Accessibility & contrast

On white

13.70
#0E2C5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#0E2C5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2C5C
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2C5C#FFFFFF#000000##FFFFFF
##0E2C5C1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10315E
Deuteranopia (green-blind)
#002A5B
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0e2c5c;
/* rgb */ color: rgb(14, 44, 92);
/* oklch */ color: oklch(30.2% 0.093 259.6);
Tailwind
colors: {
  custom: {
    50: '#5b648a',
    500: '#0e2c5c',
    950: '#000000',
  },
}
SCSS
$custom: #0e2c5c;
$custom-light: #5b648a;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2c5c",
  "rgb": {
    "r": 14,
    "g": 44,
    "b": 92
  },
  "hsl": {
    "h": 216.923,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30159,
    "c": 0.09325,
    "h": 259.6
  },
  "luminance": 0.02667
}

Semantic roles & 50–950 ramp

primary
#0E2C5C
secondary
#966F30
accent
#A938F0
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #0E2C5C

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

Preview Lab → · Contrast checker → · Palette generator →

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