#0F405C#0F405C

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

Color values

HEX#0F405C
RGBrgb(15, 64, 92)
HSLhsl(202, 72%, 21%)
HSVhsv(202, 84%, 36%)
CMYKcmyk(83.7%, 30.4%, 0%, 63.9%)
CIE-LABlab(25.38, -5.02, -21.20)
CIE-LCHlch(25.38, 21.79, 256.68°)
OKLaboklab(35.43% -0.0361 -0.06)
OKLCHoklch(35.43% 0.07 238.9)
XYZxyz(3.9614, 4.5406, 10.7908)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F405C #5C2B0F
analogous
#0F5C51 #0F405C #0F195C
triadic
#0F405C #5C0F40 #405C0F
tetradic
#0F405C #510F5C #5C2B0F #195C0F
square
#0F405C #510F5C #5C2B0F #195C0F
split-complementary
#0F405C #5C0F19 #5C510F
monochromatic
#04121A #061B27 #0F405C #186591 #2089C5

Accessibility & contrast

On white

11.01
#0F405C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F405C
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F405C#FFFFFF#000000##FFFFFF
##0F405C1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f405c;
/* rgb */ color: rgb(15, 64, 92);
/* oklch */ color: oklch(35.4% 0.070 238.9);
Tailwind
colors: {
  custom: {
    50: '#5b748a',
    500: '#0f405c',
    950: '#000000',
  },
}
SCSS
$custom: #0f405c;
$custom-light: #5b748a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f405c",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 92
  },
  "hsl": {
    "h": 201.818,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.35428,
    "c": 0.07,
    "h": 238.9
  },
  "luminance": 0.04541
}

Semantic roles & 50–950 ramp

primary
#0F405C
secondary
#955631
accent
#7B39EF
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#04080B
muted
#797B7C

Preview Lab

Preview with #0F405C

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

Preview Lab → · Contrast checker → · Palette generator →

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