#0F405B#0F405B

#0F405B is a dark, moderate cyan. Relative luminance 0.045; OKLCH L 35.4% C 0.069 H 238.0°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#0F405B
RGBrgb(15, 64, 91)
HSLhsl(201, 72%, 21%)
HSVhsv(201, 84%, 36%)
CMYKcmyk(83.5%, 29.7%, 0%, 64.3%)
CIE-LABlab(25.33, -5.43, -20.64)
CIE-LCHlch(25.33, 21.34, 255.26°)
OKLaboklab(35.37% -0.0365 -0.0583)
OKLCHoklch(35.37% 0.069 238)
XYZxyz(3.9180, 4.5232, 10.5621)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F405B #5B2A0F
analogous
#0F5B50 #0F405B #0F1A5B
triadic
#0F405B #5B0F40 #405B0F
tetradic
#0F405B #500F5B #5B2A0F #1A5B0F
square
#0F405B #500F5B #5B2A0F #1A5B0F
split-complementary
#0F405B #5B0F1A #5B500F
monochromatic
#04121A #061B26 #0F405B #186590 #208AC4

Accessibility & contrast

On white

11.02
#0F405B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#0F405B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F405B
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F405B#FFFFFF#000000##FFFFFF
##0F405B1.0011.021.9011.02
#FFFFFF11.021.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33405C
Deuteranopia (green-blind)
#29395B
Tritanopia (blue-blind)
#004749
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0f405b;
/* rgb */ color: rgb(15, 64, 91);
/* oklch */ color: oklch(35.4% 0.069 238.0);
Tailwind
colors: {
  custom: {
    50: '#5b7489',
    500: '#0f405b',
    950: '#000000',
  },
}
SCSS
$custom: #0f405b;
$custom-light: #5b7489;
$custom-dark: #000000;
JSON
{
  "hex": "#0f405b",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 91
  },
  "hsl": {
    "h": 201.316,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.35368,
    "c": 0.06879,
    "h": 238
  },
  "luminance": 0.04524
}

Semantic roles & 50–950 ramp

primary
#0F405B
secondary
#955531
accent
#7A39EE
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#04080B
muted
#797B7C

Preview Lab

Preview with #0F405B

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

Preview Lab → · Contrast checker → · Palette generator →

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