#0F405E#0F405E

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

Color values

HEX#0F405E
RGBrgb(15, 64, 94)
HSLhsl(203, 72%, 21%)
HSVhsv(203, 84%, 37%)
CMYKcmyk(84%, 31.9%, 0%, 63.1%)
CIE-LABlab(25.49, -4.20, -22.33)
CIE-LCHlch(25.49, 22.72, 259.35°)
OKLaboklab(35.55% -0.0354 -0.0632)
OKLCHoklch(35.55% 0.072 240.8)
XYZxyz(4.0500, 4.5760, 11.2573)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F405E #5E2D0F
analogous
#0F5E55 #0F405E #0F195E
triadic
#0F405E #5E0F40 #405E0F
tetradic
#0F405E #550F5E #5E2D0F #195E0F
square
#0F405E #550F5E #5E2D0F #195E0F
split-complementary
#0F405E #5E0F19 #5E550F
monochromatic
#04121A #071C29 #0F405E #176493 #2088C8

Accessibility & contrast

On white

10.96
#0F405E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#0F405E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F405E
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F405E#FFFFFF#000000##FFFFFF
##0F405E1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32405F
Deuteranopia (green-blind)
#27395D
Tritanopia (blue-blind)
#00474B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0f405e;
/* rgb */ color: rgb(15, 64, 94);
/* oklch */ color: oklch(35.5% 0.072 240.8);
Tailwind
colors: {
  custom: {
    50: '#5c748c',
    500: '#0f405e',
    950: '#000000',
  },
}
SCSS
$custom: #0f405e;
$custom-light: #5c748c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f405e",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 94
  },
  "hsl": {
    "h": 202.785,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.35548,
    "c": 0.07247,
    "h": 240.8
  },
  "luminance": 0.04577
}

Semantic roles & 50–950 ramp

primary
#0F405E
secondary
#975831
accent
#7E39EF
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#05080C
muted
#797B7D

Preview Lab

Preview with #0F405E

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

Preview Lab → · Contrast checker → · Palette generator →

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