#0E3271#0E3271

#0E3271 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.4% C 0.117 H 260.8°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#0E3271
RGBrgb(14, 50, 113)
HSLhsl(218, 78%, 25%)
HSVhsv(218, 88%, 44%)
CMYKcmyk(87.6%, 55.8%, 0%, 55.7%)
CIE-LABlab(22.18, 13.60, -39.89)
CIE-LCHlch(22.18, 42.14, 288.83°)
OKLaboklab(33.38% -0.0187 -0.1151)
OKLCHoklch(33.38% 0.117 260.8)
XYZxyz(4.3013, 3.5663, 16.0812)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E3271 #714D0E
analogous
#0E6371 #0E3271 #1C0E71
triadic
#0E3271 #710E32 #32710E
tetradic
#0E3271 #710E63 #714D0E #0E711C
square
#0E3271 #710E63 #714D0E #0E711C
split-complementary
#0E3271 #711C0E #63710E
monochromatic
#030C1B #071A3B #0E3271 #154AA7 #1B62DE

Accessibility & contrast

On white

12.26
#0E3271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#0E3271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E3271
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E3271#FFFFFF#000000##FFFFFF
##0E32711.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013A73
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0e3271;
/* rgb */ color: rgb(14, 50, 113);
/* oklch */ color: oklch(33.4% 0.117 260.8);
Tailwind
colors: {
  custom: {
    50: '#60699a',
    500: '#0e3271',
    950: '#000000',
  },
}
SCSS
$custom: #0e3271;
$custom-light: #60699a;
$custom-dark: #000000;
JSON
{
  "hex": "#0e3271",
  "rgb": {
    "r": 14,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 218.182,
    "s": 77.953,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33375,
    "c": 0.11657,
    "h": 260.8
  },
  "luminance": 0.03567
}

Semantic roles & 50–950 ramp

primary
#0E3271
secondary
#A97E32
accent
#AE33F4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #0E3271

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

Preview Lab → · Contrast checker → · Palette generator →

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