#0E2956#0E2956

#0E2956 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 28.9% C 0.088 H 260.1°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#0E2956
RGBrgb(14, 41, 86)
HSLhsl(218, 72%, 20%)
HSVhsv(218, 84%, 34%)
CMYKcmyk(83.7%, 52.3%, 0%, 66.3%)
CIE-LABlab(17.23, 8.44, -30.20)
CIE-LCHlch(17.23, 31.36, 285.61°)
OKLaboklab(28.92% -0.0152 -0.0868)
OKLCHoklch(28.92% 0.088 260.1)
XYZxyz(2.6531, 2.3508, 9.1162)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2956 #563B0E
analogous
#0E4D56 #0E2956 #170E56
triadic
#0E2956 #560E29 #29560E
tetradic
#0E2956 #560E4D #563B0E #0E5617
square
#0E2956 #560E4D #563B0E #0E5617
split-complementary
#0E2956 #56170E #4D560E
monochromatic
#040D1A #051021 #0E2956 #17428B #1F5BBF

Accessibility & contrast

On white

14.28
#0E2956 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0E2956 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2956
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2956#FFFFFF#000000##FFFFFF
##0E29561.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2E58
Deuteranopia (green-blind)
#002755
Tritanopia (blue-blind)
#00343B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0e2956;
/* rgb */ color: rgb(14, 41, 86);
/* oklch */ color: oklch(28.9% 0.088 260.1);
Tailwind
colors: {
  custom: {
    50: '#596286',
    500: '#0e2956',
    950: '#000000',
  },
}
SCSS
$custom: #0e2956;
$custom-light: #596286;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2956",
  "rgb": {
    "r": 14,
    "g": 41,
    "b": 86
  },
  "hsl": {
    "h": 217.5,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28918,
    "c": 0.0881,
    "h": 260.1
  },
  "luminance": 0.02351
}

Semantic roles & 50–950 ramp

primary
#0E2956
secondary
#906C30
accent
#AB39EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0E2956

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

Preview Lab → · Contrast checker → · Palette generator →

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