#0F405A#0F405A

#0F405A is a dark, moderate cyan. Relative luminance 0.045; OKLCH L 35.3% C 0.068 H 237.0°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#0F405A
RGBrgb(15, 64, 90)
HSLhsl(201, 71%, 21%)
HSVhsv(201, 83%, 35%)
CMYKcmyk(83.3%, 28.9%, 0%, 64.7%)
CIE-LABlab(25.28, -5.84, -20.07)
CIE-LCHlch(25.28, 20.90, 253.78°)
OKLaboklab(35.31% -0.0369 -0.0567)
OKLCHoklch(35.31% 0.068 237)
XYZxyz(3.8751, 4.5061, 10.3364)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F405A #5A290F
analogous
#0F5A4E #0F405A #0F1A5A
triadic
#0F405A #5A0F40 #405A0F
tetradic
#0F405A #4E0F5A #5A290F #1A5A0F
square
#0F405A #4E0F5A #5A290F #1A5A0F
split-complementary
#0F405A #5A0F1A #5A4E0F
monochromatic
#04131A #061B26 #0F405A #18658E #208BC3

Accessibility & contrast

On white

11.04
#0F405A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F405A
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F405A#FFFFFF#000000##FFFFFF
##0F405A1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f405a;
/* rgb */ color: rgb(15, 64, 90);
/* oklch */ color: oklch(35.3% 0.068 237.0);
Tailwind
colors: {
  custom: {
    50: '#5b7488',
    500: '#0f405a',
    950: '#000000',
  },
}
SCSS
$custom: #0f405a;
$custom-light: #5b7488;
$custom-dark: #000000;
JSON
{
  "hex": "#0f405a",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 90
  },
  "hsl": {
    "h": 200.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.35309,
    "c": 0.06761,
    "h": 237
  },
  "luminance": 0.04507
}

Semantic roles & 50–950 ramp

primary
#0F405A
secondary
#945331
accent
#783AEE
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#04080B
muted
#797B7C

Preview Lab

Preview with #0F405A

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

Preview Lab → · Contrast checker → · Palette generator →

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