#0E1241#0E1241

#0E1241 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.5% C 0.088 H 272.7°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#0E1241
RGBrgb(14, 18, 65)
HSLhsl(235, 65%, 15%)
HSVhsv(235, 78%, 25%)
CMYKcmyk(78.5%, 72.3%, 0%, 74.5%)
CIE-LABlab(8.20, 16.83, -30.40)
CIE-LCHlch(8.20, 34.75, 298.98°)
OKLaboklab(21.54% 0.0042 -0.0877)
OKLCHoklch(21.54% 0.088 272.7)
XYZxyz(1.3512, 0.9075, 5.1040)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E1241 #413D0E
analogous
#0E2B41 #0E1241 #230E41
triadic
#0E1241 #410E12 #12410E
tetradic
#0E1241 #410E2B #413D0E #0E4123
square
#0E1241 #410E2B #413D0E #0E4123
split-complementary
#0E1241 #41230E #2B410E
monochromatic
#050719 #050719 #0E1241 #192073 #242EA6

Accessibility & contrast

On white

17.77
#0E1241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0E1241 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E1241
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E1241#FFFFFF#000000##FFFFFF
##0E12411.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A43
Deuteranopia (green-blind)
#001640
Tritanopia (blue-blind)
#001E27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0e1241;
/* rgb */ color: rgb(14, 18, 65);
/* oklch */ color: oklch(21.5% 0.088 272.7);
Tailwind
colors: {
  custom: {
    50: '#554f76',
    500: '#0e1241',
    950: '#000000',
  },
}
SCSS
$custom: #0e1241;
$custom-light: #554f76;
$custom-dark: #000000;
JSON
{
  "hex": "#0e1241",
  "rgb": {
    "r": 14,
    "g": 18,
    "b": 65
  },
  "hsl": {
    "h": 235.294,
    "s": 64.557,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21537,
    "c": 0.08785,
    "h": 272.7
  },
  "luminance": 0.00908
}

Semantic roles & 50–950 ramp

primary
#0E1241
secondary
#7C762F
accent
#DA40E8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0E1241

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

Preview Lab → · Contrast checker → · Palette generator →

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