#0E2A4C#0E2A4C

#0E2A4C is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.4% C 0.071 H 255.0°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#0E2A4C
RGBrgb(14, 42, 76)
HSLhsl(213, 69%, 18%)
HSVhsv(213, 82%, 30%)
CMYKcmyk(81.6%, 44.7%, 0%, 70.2%)
CIE-LABlab(16.85, 3.31, -24.06)
CIE-LCHlch(16.85, 24.29, 277.82°)
OKLaboklab(28.39% -0.0184 -0.0687)
OKLCHoklch(28.39% 0.071 255)
XYZxyz(2.3131, 2.2708, 7.1525)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2A4C #4C300E
analogous
#0E494C #0E2A4C #110E4C
triadic
#0E2A4C #4C0E2A #2A4C0E
tetradic
#0E2A4C #4C0E49 #4C300E #0E4C11
square
#0E2A4C #4C0E49 #4C300E #0E4C11
split-complementary
#0E2A4C #4C110E #494C0E
monochromatic
#050E1A #050E1A #0E2A4C #184780 #2163B3

Accessibility & contrast

On white

14.44
#0E2A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0E2A4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2A4C
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2A4C#FFFFFF#000000##FFFFFF
##0E2A4C1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2D4D
Deuteranopia (green-blind)
#10274B
Tritanopia (blue-blind)
#003237
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0e2a4c;
/* rgb */ color: rgb(14, 42, 76);
/* oklch */ color: oklch(28.4% 0.071 255.0);
Tailwind
colors: {
  custom: {
    50: '#57637e',
    500: '#0e2a4c',
    950: '#000000',
  },
}
SCSS
$custom: #0e2a4c;
$custom-light: #57637e;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2a4c",
  "rgb": {
    "r": 14,
    "g": 42,
    "b": 76
  },
  "hsl": {
    "h": 212.903,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28393,
    "c": 0.07112,
    "h": 255
  },
  "luminance": 0.02271
}

Semantic roles & 50–950 ramp

primary
#0E2A4C
secondary
#875F2F
accent
#9C3CEC
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#03050A
muted
#78797C

Preview Lab

Preview with #0E2A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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