#0E2A62#0E2A62

#0E2A62 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.2% C 0.105 H 262.2°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#0E2A62
RGBrgb(14, 42, 98)
HSLhsl(220, 75%, 22%)
HSVhsv(220, 86%, 38%)
CMYKcmyk(85.7%, 57.1%, 0%, 61.6%)
CIE-LABlab(18.50, 12.96, -36.12)
CIE-LCHlch(18.50, 38.37, 289.74°)
OKLaboklab(30.19% -0.0143 -0.1042)
OKLCHoklch(30.19% 0.105 262.2)
XYZxyz(3.2129, 2.6307, 11.8914)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2A62 #62460E
analogous
#0E5462 #0E2A62 #1C0E62
triadic
#0E2A62 #620E2A #2A620E
tetradic
#0E2A62 #620E54 #62460E #0E621C
square
#0E2A62 #620E54 #62460E #0E621C
split-complementary
#0E2A62 #621C0E #54620E
monochromatic
#040B1B #06132C #0E2A62 #164198 #1D58CD

Accessibility & contrast

On white

13.76
#0E2A62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E2A62
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2A62#FFFFFF#000000##FFFFFF
##0E2A621.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003164
Deuteranopia (green-blind)
#002961
Tritanopia (blue-blind)
#003841
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0e2a62;
/* rgb */ color: rgb(14, 42, 98);
/* oklch */ color: oklch(30.2% 0.105 262.2);
Tailwind
colors: {
  custom: {
    50: '#5d628f',
    500: '#0e2a62',
    950: '#000000',
  },
}
SCSS
$custom: #0e2a62;
$custom-light: #5d628f;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2a62",
  "rgb": {
    "r": 14,
    "g": 42,
    "b": 98
  },
  "hsl": {
    "h": 220,
    "s": 75,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3019,
    "c": 0.10514,
    "h": 262.2
  },
  "luminance": 0.02631
}

Semantic roles & 50–950 ramp

primary
#0E2A62
secondary
#9B7830
accent
#B336F2
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0E2A62

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

Preview Lab → · Contrast checker → · Palette generator →

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