#0E2957#0E2957

#0E2957 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.0% C 0.090 H 260.4°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#0E2957
RGBrgb(14, 41, 87)
HSLhsl(218, 72%, 20%)
HSVhsv(218, 84%, 34%)
CMYKcmyk(83.9%, 52.9%, 0%, 65.9%)
CIE-LABlab(17.31, 8.88, -30.75)
CIE-LCHlch(17.31, 32.01, 286.11°)
OKLaboklab(29% -0.015 -0.0884)
OKLCHoklch(29% 0.09 260.4)
XYZxyz(2.6937, 2.3670, 9.3299)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2957 #573C0E
analogous
#0E4E57 #0E2957 #170E57
triadic
#0E2957 #570E29 #29570E
tetradic
#0E2957 #570E4E #573C0E #0E5717
square
#0E2957 #570E4E #573C0E #0E5717
split-complementary
#0E2957 #57170E #4E570E
monochromatic
#040C1A #061022 #0E2957 #16428C #1F5BC0

Accessibility & contrast

On white

14.25
#0E2957 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E2957
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2957#FFFFFF#000000##FFFFFF
##0E29571.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2E59
Deuteranopia (green-blind)
#002756
Tritanopia (blue-blind)
#00343B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0e2957;
/* rgb */ color: rgb(14, 41, 87);
/* oklch */ color: oklch(29.0% 0.090 260.4);
Tailwind
colors: {
  custom: {
    50: '#5a6287',
    500: '#0e2957',
    950: '#000000',
  },
}
SCSS
$custom: #0e2957;
$custom-light: #5a6287;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2957",
  "rgb": {
    "r": 14,
    "g": 41,
    "b": 87
  },
  "hsl": {
    "h": 217.808,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29001,
    "c": 0.08966,
    "h": 260.4
  },
  "luminance": 0.02367
}

Semantic roles & 50–950 ramp

primary
#0E2957
secondary
#916D30
accent
#AC39EF
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0E2957

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

Preview Lab → · Contrast checker → · Palette generator →

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