#0F405D#0F405D

#0F405D is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 35.5% C 0.071 H 239.9°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#0F405D
RGBrgb(15, 64, 93)
HSLhsl(202, 72%, 21%)
HSVhsv(202, 84%, 36%)
CMYKcmyk(83.9%, 31.2%, 0%, 63.5%)
CIE-LABlab(25.44, -4.61, -21.77)
CIE-LCHlch(25.44, 22.25, 258.04°)
OKLaboklab(35.49% -0.0357 -0.0616)
OKLCHoklch(35.49% 0.071 239.9)
XYZxyz(4.0054, 4.5582, 11.0225)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F405D #5D2C0F
analogous
#0F5D53 #0F405D #0F195D
triadic
#0F405D #5D0F40 #405D0F
tetradic
#0F405D #530F5D #5D2C0F #195D0F
square
#0F405D #530F5D #5D2C0F #195D0F
split-complementary
#0F405D #5D0F19 #5D530F
monochromatic
#04121A #061C28 #0F405D #176492 #2089C6

Accessibility & contrast

On white

10.98
#0F405D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#0F405D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F405D
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F405D#FFFFFF#000000##FFFFFF
##0F405D1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32405E
Deuteranopia (green-blind)
#28395C
Tritanopia (blue-blind)
#00474A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0f405d;
/* rgb */ color: rgb(15, 64, 93);
/* oklch */ color: oklch(35.5% 0.071 239.9);
Tailwind
colors: {
  custom: {
    50: '#5b748b',
    500: '#0f405d',
    950: '#000000',
  },
}
SCSS
$custom: #0f405d;
$custom-light: #5b748b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f405d",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 93
  },
  "hsl": {
    "h": 202.308,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.35487,
    "c": 0.07123,
    "h": 239.9
  },
  "luminance": 0.04559
}

Semantic roles & 50–950 ramp

primary
#0F405D
secondary
#965731
accent
#7D39EF
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#04080C
muted
#797B7D

Preview Lab

Preview with #0F405D

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

Preview Lab → · Contrast checker → · Palette generator →

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