#0E2C5E#0E2C5E

#0E2C5E is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.3% C 0.096 H 260.1°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#0E2C5E
RGBrgb(14, 44, 94)
HSLhsl(218, 74%, 21%)
HSVhsv(218, 85%, 37%)
CMYKcmyk(85.1%, 53.2%, 0%, 63.1%)
CIE-LABlab(18.81, 9.73, -32.98)
CIE-LCHlch(18.81, 34.38, 286.44°)
OKLaboklab(30.33% -0.0165 -0.0949)
OKLCHoklch(30.33% 0.096 260.1)
XYZxyz(3.1014, 2.7025, 10.9457)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2C5E #5E400E
analogous
#0E545E #0E2C5E #180E5E
triadic
#0E2C5E #5E0E2C #2C5E0E
tetradic
#0E2C5E #5E0E54 #5E400E #0E5E18
square
#0E2C5E #5E0E54 #5E400E #0E5E18
split-complementary
#0E2C5E #5E180E #545E0E
monochromatic
#040C1B #061329 #0E2C5E #164593 #1E5EC9

Accessibility & contrast

On white

13.63
#0E2C5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#0E2C5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2C5E
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2C5E#FFFFFF#000000##FFFFFF
##0E2C5E1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3260
Deuteranopia (green-blind)
#002A5D
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0e2c5e;
/* rgb */ color: rgb(14, 44, 94);
/* oklch */ color: oklch(30.3% 0.096 260.1);
Tailwind
colors: {
  custom: {
    50: '#5b648c',
    500: '#0e2c5e',
    950: '#000000',
  },
}
SCSS
$custom: #0e2c5e;
$custom-light: #5b648c;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2c5e",
  "rgb": {
    "r": 14,
    "g": 44,
    "b": 94
  },
  "hsl": {
    "h": 217.5,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30325,
    "c": 0.09631,
    "h": 260.1
  },
  "luminance": 0.02703
}

Semantic roles & 50–950 ramp

primary
#0E2C5E
secondary
#987130
accent
#AB37F1
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050C
muted
#79797D

Preview Lab

Preview with #0E2C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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