#0E245F#0E245F

#0E245F is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.5% C 0.109 H 264.7°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#0E245F
RGBrgb(14, 36, 95)
HSLhsl(224, 74%, 21%)
HSVhsv(224, 85%, 37%)
CMYKcmyk(85.3%, 62.1%, 0%, 62.7%)
CIE-LABlab(16.41, 16.12, -37.53)
CIE-LCHlch(16.41, 40.85, 293.25°)
OKLaboklab(28.53% -0.01 -0.1084)
OKLCHoklch(28.53% 0.109 264.7)
XYZxyz(2.8768, 2.1810, 11.0936)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E245F #5F490E
analogous
#0E4D5F #0E245F #210E5F
triadic
#0E245F #5F0E24 #245F0E
tetradic
#0E245F #5F0E4D #5F490E #0E5F21
square
#0E245F #5F0E4D #5F490E #0E5F21
split-complementary
#0E245F #5F210E #4D5F0E
monochromatic
#040A1B #06102A #0E245F #163894 #1E4CCA

Accessibility & contrast

On white

14.62
#0E245F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0E245F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E245F
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E245F#FFFFFF#000000##FFFFFF
##0E245F1.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D61
Deuteranopia (green-blind)
#00255E
Tritanopia (blue-blind)
#00333D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0e245f;
/* rgb */ color: rgb(14, 36, 95);
/* oklch */ color: oklch(28.5% 0.109 264.7);
Tailwind
colors: {
  custom: {
    50: '#5c5e8d',
    500: '#0e245f',
    950: '#000000',
  },
}
SCSS
$custom: #0e245f;
$custom-light: #5c5e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#0e245f",
  "rgb": {
    "r": 14,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 223.704,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28531,
    "c": 0.1089,
    "h": 264.7
  },
  "luminance": 0.02181
}

Semantic roles & 50–950 ramp

primary
#0E245F
secondary
#997C30
accent
#BE37F1
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0E245F

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

Preview Lab → · Contrast checker → · Palette generator →

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