#0E2258#0E2258

#0E2258 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.4% C 0.101 H 264.9°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#0E2258
RGBrgb(14, 34, 88)
HSLhsl(224, 73%, 20%)
HSVhsv(224, 84%, 35%)
CMYKcmyk(84.1%, 61.4%, 0%, 65.5%)
CIE-LABlab(15.18, 14.59, -34.87)
CIE-LCHlch(15.18, 37.79, 292.70°)
OKLaboklab(27.41% -0.0089 -0.1006)
OKLCHoklch(27.41% 0.101 264.9)
XYZxyz(2.5140, 1.9417, 9.4729)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2258 #58440E
analogous
#0E4758 #0E2258 #1F0E58
triadic
#0E2258 #580E22 #22580E
tetradic
#0E2258 #580E47 #58440E #0E581F
square
#0E2258 #580E47 #58440E #0E581F
split-complementary
#0E2258 #581F0E #47580E
monochromatic
#040A1A #060E23 #0E2258 #16368D #1F4BC2

Accessibility & contrast

On white

15.13
#0E2258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0E2258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2258
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2258#FFFFFF#000000##FFFFFF
##0E22581.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5A
Deuteranopia (green-blind)
#002357
Tritanopia (blue-blind)
#002F39
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0e2258;
/* rgb */ color: rgb(14, 34, 88);
/* oklch */ color: oklch(27.4% 0.101 264.9);
Tailwind
colors: {
  custom: {
    50: '#5a5c88',
    500: '#0e2258',
    950: '#000000',
  },
}
SCSS
$custom: #0e2258;
$custom-light: #5a5c88;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2258",
  "rgb": {
    "r": 14,
    "g": 34,
    "b": 88
  },
  "hsl": {
    "h": 223.784,
    "s": 72.549,
    "l": 20
  },
  "oklch": {
    "l": 0.2741,
    "c": 0.10103,
    "h": 264.9
  },
  "luminance": 0.01942
}

Semantic roles & 50–950 ramp

primary
#0E2258
secondary
#927830
accent
#BE39EF
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0E2258

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

Preview Lab → · Contrast checker → · Palette generator →

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