#0E3270#0E3270

#0E3270 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.3% C 0.115 H 260.6°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#0E3270
RGBrgb(14, 50, 112)
HSLhsl(218, 78%, 25%)
HSVhsv(218, 88%, 44%)
CMYKcmyk(87.5%, 55.4%, 0%, 56.1%)
CIE-LABlab(22.10, 13.17, -39.37)
CIE-LCHlch(22.10, 41.52, 288.49°)
OKLaboklab(33.29% -0.0188 -0.1136)
OKLCHoklch(33.29% 0.115 260.6)
XYZxyz(4.2453, 3.5439, 15.7864)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E3270 #704C0E
analogous
#0E6370 #0E3270 #1B0E70
triadic
#0E3270 #700E32 #32700E
tetradic
#0E3270 #700E63 #704C0E #0E701B
square
#0E3270 #700E63 #704C0E #0E701B
split-complementary
#0E3270 #701B0E #63700E
monochromatic
#030C1B #071A3A #0E3270 #154AA6 #1C63DD

Accessibility & contrast

On white

12.29
#0E3270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E3270
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E3270#FFFFFF#000000##FFFFFF
##0E32701.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033A72
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0e3270;
/* rgb */ color: rgb(14, 50, 112);
/* oklch */ color: oklch(33.3% 0.115 260.6);
Tailwind
colors: {
  custom: {
    50: '#60699a',
    500: '#0e3270',
    950: '#000000',
  },
}
SCSS
$custom: #0e3270;
$custom-light: #60699a;
$custom-dark: #000000;
JSON
{
  "hex": "#0e3270",
  "rgb": {
    "r": 14,
    "g": 50,
    "b": 112
  },
  "hsl": {
    "h": 217.959,
    "s": 77.778,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33289,
    "c": 0.11511,
    "h": 260.6
  },
  "luminance": 0.03544
}

Semantic roles & 50–950 ramp

primary
#0E3270
secondary
#A87D32
accent
#AD34F4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #0E3270

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

Preview Lab → · Contrast checker → · Palette generator →

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