#0E225F#0E225F

#0E225F is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.1% C 0.112 H 265.6°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#0E225F
RGBrgb(14, 34, 95)
HSLhsl(225, 74%, 21%)
HSVhsv(225, 85%, 37%)
CMYKcmyk(85.3%, 64.2%, 0%, 62.7%)
CIE-LABlab(15.82, 17.61, -38.50)
CIE-LCHlch(15.82, 42.34, 294.58°)
OKLaboklab(28.09% -0.0086 -0.1113)
OKLCHoklch(28.09% 0.112 265.6)
XYZxyz(2.8180, 2.0633, 11.0740)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E225F #5F4B0E
analogous
#0E4B5F #0E225F #230E5F
triadic
#0E225F #5F0E22 #225F0E
tetradic
#0E225F #5F0E4B #5F4B0E #0E5F23
square
#0E225F #5F0E4B #5F4B0E #0E5F23
split-complementary
#0E225F #5F230E #4B5F0E
monochromatic
#040A1B #060F2A #0E225F #163594 #1E48CA

Accessibility & contrast

On white

14.86
#0E225F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0E225F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E225F
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E225F#FFFFFF#000000##FFFFFF
##0E225F1.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#00245E
Tritanopia (blue-blind)
#00323C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0e225f;
/* rgb */ color: rgb(14, 34, 95);
/* oklch */ color: oklch(28.1% 0.112 265.6);
Tailwind
colors: {
  custom: {
    50: '#5c5c8d',
    500: '#0e225f',
    950: '#000000',
  },
}
SCSS
$custom: #0e225f;
$custom-light: #5c5c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#0e225f",
  "rgb": {
    "r": 14,
    "g": 34,
    "b": 95
  },
  "hsl": {
    "h": 225.185,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28087,
    "c": 0.11165,
    "h": 265.6
  },
  "luminance": 0.02064
}

Semantic roles & 50–950 ramp

primary
#0E225F
secondary
#997F30
accent
#C337F1
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0E225F

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

Preview Lab → · Contrast checker → · Palette generator →

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