#0E275B#0E275B

#0E275B is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.9% C 0.099 H 262.6°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#0E275B
RGBrgb(14, 39, 91)
HSLhsl(221, 73%, 21%)
HSVhsv(221, 85%, 36%)
CMYKcmyk(84.6%, 57.1%, 0%, 64.3%)
CIE-LABlab(16.99, 12.14, -33.94)
CIE-LCHlch(16.99, 36.04, 289.68°)
OKLaboklab(28.86% -0.0127 -0.0978)
OKLCHoklch(28.86% 0.099 262.6)
XYZxyz(2.7943, 2.2994, 10.1921)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E275B #5B420E
analogous
#0E4D5B #0E275B #1B0E5B
triadic
#0E275B #5B0E27 #275B0E
tetradic
#0E275B #5B0E4D #5B420E #0E5B1B
square
#0E275B #5B0E4D #5B420E #0E5B1B
split-complementary
#0E275B #5B1B0E #4D5B0E
monochromatic
#040B1B #061026 #0E275B #163E90 #1E54C5

Accessibility & contrast

On white

14.38
#0E275B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0E275B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E275B
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E275B#FFFFFF#000000##FFFFFF
##0E275B1.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022E5D
Deuteranopia (green-blind)
#00275A
Tritanopia (blue-blind)
#00343C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0e275b;
/* rgb */ color: rgb(14, 39, 91);
/* oklch */ color: oklch(28.9% 0.099 262.6);
Tailwind
colors: {
  custom: {
    50: '#5b608a',
    500: '#0e275b',
    950: '#000000',
  },
}
SCSS
$custom: #0e275b;
$custom-light: #5b608a;
$custom-dark: #000000;
JSON
{
  "hex": "#0e275b",
  "rgb": {
    "r": 14,
    "g": 39,
    "b": 91
  },
  "hsl": {
    "h": 220.519,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28857,
    "c": 0.09863,
    "h": 262.6
  },
  "luminance": 0.023
}

Semantic roles & 50–950 ramp

primary
#0E275B
secondary
#957430
accent
#B438F0
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040C
muted
#79797D

Preview Lab

Preview with #0E275B

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

Preview Lab → · Contrast checker → · Palette generator →

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