#0F4060#0F4060

#0F4060 is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 35.7% C 0.075 H 242.5°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#0F4060
RGBrgb(15, 64, 96)
HSLhsl(204, 73%, 22%)
HSVhsv(204, 84%, 38%)
CMYKcmyk(84.4%, 33.3%, 0%, 62.4%)
CIE-LABlab(25.60, -3.38, -23.46)
CIE-LCHlch(25.60, 23.70, 261.81°)
OKLaboklab(35.67% -0.0347 -0.0665)
OKLCHoklch(35.67% 0.075 242.5)
XYZxyz(4.1409, 4.6124, 11.7361)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4060 #602F0F
analogous
#0F6058 #0F4060 #0F1760
triadic
#0F4060 #600F40 #40600F
tetradic
#0F4060 #580F60 #602F0F #17600F
square
#0F4060 #580F60 #602F0F #17600F
split-complementary
#0F4060 #600F17 #60580F
monochromatic
#04121A #071D2B #0F4060 #176395 #2087CA

Accessibility & contrast

On white

10.92
#0F4060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4060
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4060#FFFFFF#000000##FFFFFF
##0F40601.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314161
Deuteranopia (green-blind)
#26395F
Tritanopia (blue-blind)
#00484B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0f4060;
/* rgb */ color: rgb(15, 64, 96);
/* oklch */ color: oklch(35.7% 0.075 242.5);
Tailwind
colors: {
  custom: {
    50: '#5c748d',
    500: '#0f4060',
    950: '#000000',
  },
}
SCSS
$custom: #0f4060;
$custom-light: #5c748d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4060",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 96
  },
  "hsl": {
    "h": 203.704,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.35671,
    "c": 0.07502,
    "h": 242.5
  },
  "luminance": 0.04613
}

Semantic roles & 50–950 ramp

primary
#0F4060
secondary
#995B32
accent
#8138F0
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#05080C
muted
#797B7D

Preview Lab

Preview with #0F4060

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

Preview Lab → · Contrast checker → · Palette generator →

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