#0E2F5E#0E2F5E

#0E2F5E is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.092 H 258.0°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#0E2F5E
RGBrgb(14, 47, 94)
HSLhsl(215, 74%, 21%)
HSVhsv(215, 85%, 37%)
CMYKcmyk(85.1%, 50%, 0%, 63.1%)
CIE-LABlab(19.78, 7.52, -31.42)
CIE-LCHlch(19.78, 32.31, 283.47°)
OKLaboklab(31.07% -0.0192 -0.0902)
OKLCHoklch(31.07% 0.092 258)
XYZxyz(3.2173, 2.9342, 10.9843)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2F5E #5E3D0E
analogous
#0E575E #0E2F5E #150E5E
triadic
#0E2F5E #5E0E2F #2F5E0E
tetradic
#0E2F5E #5E0E57 #5E3D0E #0E5E15
square
#0E2F5E #5E0E57 #5E3D0E #0E5E15
split-complementary
#0E2F5E #5E150E #575E0E
monochromatic
#040D1B #061429 #0E2F5E #164A93 #1E64C9

Accessibility & contrast

On white

13.23
#0E2F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#0E2F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2F5E
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2F5E#FFFFFF#000000##FFFFFF
##0E2F5E1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153460
Deuteranopia (green-blind)
#022C5D
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0e2f5e;
/* rgb */ color: rgb(14, 47, 94);
/* oklch */ color: oklch(31.1% 0.092 258.0);
Tailwind
colors: {
  custom: {
    50: '#5b678c',
    500: '#0e2f5e',
    950: '#000000',
  },
}
SCSS
$custom: #0e2f5e;
$custom-light: #5b678c;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2f5e",
  "rgb": {
    "r": 14,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 215.25,
    "s": 74.074,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31069,
    "c": 0.09223,
    "h": 258
  },
  "luminance": 0.02935
}

Semantic roles & 50–950 ramp

primary
#0E2F5E
secondary
#986D30
accent
#A437F1
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D

Preview Lab

Preview with #0E2F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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