#0E2C5F#0E2C5F

#0E2C5F is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.098 H 260.4°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#0E2C5F
RGBrgb(14, 44, 95)
HSLhsl(218, 74%, 21%)
HSVhsv(218, 85%, 37%)
CMYKcmyk(85.3%, 53.7%, 0%, 62.7%)
CIE-LABlab(18.89, 10.17, -33.51)
CIE-LCHlch(18.89, 35.02, 286.88°)
OKLaboklab(30.41% -0.0164 -0.0964)
OKLCHoklch(30.41% 0.098 260.4)
XYZxyz(3.1466, 2.7206, 11.1835)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2C5F #5F410E
analogous
#0E555F #0E2C5F #190E5F
triadic
#0E2C5F #5F0E2C #2C5F0E
tetradic
#0E2C5F #5F0E55 #5F410E #0E5F19
square
#0E2C5F #5F0E55 #5F410E #0E5F19
split-complementary
#0E2C5F #5F190E #555F0E
monochromatic
#040C1B #06132A #0E2C5F #164594 #1E5DCA

Accessibility & contrast

On white

13.60
#0E2C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#0E2C5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2C5F
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2C5F#FFFFFF#000000##FFFFFF
##0E2C5F1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3261
Deuteranopia (green-blind)
#002A5E
Tritanopia (blue-blind)
#003841
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0e2c5f;
/* rgb */ color: rgb(14, 44, 95);
/* oklch */ color: oklch(30.4% 0.098 260.4);
Tailwind
colors: {
  custom: {
    50: '#5c648d',
    500: '#0e2c5f',
    950: '#000000',
  },
}
SCSS
$custom: #0e2c5f;
$custom-light: #5c648d;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2c5f",
  "rgb": {
    "r": 14,
    "g": 44,
    "b": 95
  },
  "hsl": {
    "h": 217.778,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30409,
    "c": 0.09783,
    "h": 260.4
  },
  "luminance": 0.02721
}

Semantic roles & 50–950 ramp

primary
#0E2C5F
secondary
#997230
accent
#AC37F1
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #0E2C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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