#0E335F#0E335F

#0E335F is a dark, moderate cyan. Relative luminance 0.033; OKLCH L 32.2% C 0.088 H 255.2°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#0E335F
RGBrgb(14, 51, 95)
HSLhsl(213, 74%, 21%)
HSVhsv(213, 85%, 37%)
CMYKcmyk(85.3%, 46.3%, 0%, 62.7%)
CIE-LABlab(21.16, 5.06, -29.86)
CIE-LCHlch(21.16, 30.29, 279.62°)
OKLaboklab(32.16% -0.0226 -0.0855)
OKLCHoklch(32.16% 0.088 255.2)
XYZxyz(3.4297, 3.2868, 11.2779)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E335F #5F3A0E
analogous
#0E5C5F #0E335F #120E5F
triadic
#0E335F #5F0E33 #335F0E
tetradic
#0E335F #5F0E5C #5F3A0E #0E5F12
square
#0E335F #5F0E5C #5F3A0E #0E5F12
split-complementary
#0E335F #5F120E #5C5F0E
monochromatic
#040E1B #06162A #0E335F #165094 #1E6CCA

Accessibility & contrast

On white

12.67
#0E335F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#0E335F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E335F
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E335F#FFFFFF#000000##FFFFFF
##0E335F1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3761
Deuteranopia (green-blind)
#0D2F5E
Tritanopia (blue-blind)
#003D44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0e335f;
/* rgb */ color: rgb(14, 51, 95);
/* oklch */ color: oklch(32.2% 0.088 255.2);
Tailwind
colors: {
  custom: {
    50: '#5b6a8d',
    500: '#0e335f',
    950: '#000000',
  },
}
SCSS
$custom: #0e335f;
$custom-light: #5b6a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#0e335f",
  "rgb": {
    "r": 14,
    "g": 51,
    "b": 95
  },
  "hsl": {
    "h": 212.593,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32159,
    "c": 0.08849,
    "h": 255.2
  },
  "luminance": 0.03287
}

Semantic roles & 50–950 ramp

primary
#0E335F
secondary
#996930
accent
#9C37F1
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D

Preview Lab

Preview with #0E335F

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

Preview Lab → · Contrast checker → · Palette generator →

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