#0E2F5F#0E2F5F

#0E2F5F is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.1% C 0.094 H 258.3°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#0E2F5F
RGBrgb(14, 47, 95)
HSLhsl(216, 74%, 21%)
HSVhsv(216, 85%, 37%)
CMYKcmyk(85.3%, 50.5%, 0%, 62.7%)
CIE-LABlab(19.85, 7.96, -31.96)
CIE-LCHlch(19.85, 32.93, 283.99°)
OKLaboklab(31.15% -0.019 -0.0918)
OKLCHoklch(31.15% 0.094 258.3)
XYZxyz(3.2624, 2.9522, 11.2221)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2F5F #5F3E0E
analogous
#0E585F #0E2F5F #160E5F
triadic
#0E2F5F #5F0E2F #2F5F0E
tetradic
#0E2F5F #5F0E58 #5F3E0E #0E5F16
square
#0E2F5F #5F0E58 #5F3E0E #0E5F16
split-complementary
#0E2F5F #5F160E #585F0E
monochromatic
#040D1B #06152A #0E2F5F #164994 #1E64CA

Accessibility & contrast

On white

13.20
#0E2F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E2F5F
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2F5F#FFFFFF#000000##FFFFFF
##0E2F5F1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143461
Deuteranopia (green-blind)
#002D5E
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0e2f5f;
/* rgb */ color: rgb(14, 47, 95);
/* oklch */ color: oklch(31.1% 0.094 258.3);
Tailwind
colors: {
  custom: {
    50: '#5c678d',
    500: '#0e2f5f',
    950: '#000000',
  },
}
SCSS
$custom: #0e2f5f;
$custom-light: #5c678d;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2f5f",
  "rgb": {
    "r": 14,
    "g": 47,
    "b": 95
  },
  "hsl": {
    "h": 215.556,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31149,
    "c": 0.09375,
    "h": 258.3
  },
  "luminance": 0.02953
}

Semantic roles & 50–950 ramp

primary
#0E2F5F
secondary
#996E30
accent
#A537F1
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #0E2F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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