#0F3E5A#0F3E5A

#0F3E5A is a dark, moderate cyan. Relative luminance 0.043; OKLCH L 34.8% C 0.069 H 239.9°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#0F3E5A
RGBrgb(15, 62, 90)
HSLhsl(202, 71%, 21%)
HSVhsv(202, 83%, 35%)
CMYKcmyk(83.3%, 31.1%, 0%, 64.7%)
CIE-LABlab(24.59, -4.53, -21.14)
CIE-LCHlch(24.59, 21.62, 257.92°)
OKLaboklab(34.76% -0.0347 -0.0598)
OKLCHoklch(34.76% 0.069 239.9)
XYZxyz(3.7644, 4.2845, 10.2995)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3E5A #5A2B0F
analogous
#0F5A50 #0F3E5A #0F185A
triadic
#0F3E5A #5A0F3E #3E5A0F
tetradic
#0F3E5A #500F5A #5A2B0F #185A0F
square
#0F3E5A #500F5A #5A2B0F #185A0F
split-complementary
#0F3E5A #5A0F18 #5A500F
monochromatic
#04121A #061A26 #0F3E5A #18628E #2086C3

Accessibility & contrast

On white

11.31
#0F3E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#0F3E5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3E5A
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3E5A#FFFFFF#000000##FFFFFF
##0F3E5A1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313E5B
Deuteranopia (green-blind)
#27375A
Tritanopia (blue-blind)
#004548
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #0f3e5a;
/* rgb */ color: rgb(15, 62, 90);
/* oklch */ color: oklch(34.8% 0.069 239.9);
Tailwind
colors: {
  custom: {
    50: '#5b7389',
    500: '#0f3e5a',
    950: '#000000',
  },
}
SCSS
$custom: #0f3e5a;
$custom-light: #5b7389;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3e5a",
  "rgb": {
    "r": 15,
    "g": 62,
    "b": 90
  },
  "hsl": {
    "h": 202.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.34763,
    "c": 0.06916,
    "h": 239.9
  },
  "luminance": 0.04285
}

Semantic roles & 50–950 ramp

primary
#0F3E5A
secondary
#945631
accent
#7D3AEE
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#04080B
muted
#797B7C

Preview Lab

Preview with #0F3E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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