#0F4056#0F4056

#0F4056 is a dark, moderate cyan. Relative luminance 0.044; OKLCH L 35.1% C 0.063 H 232.5°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#0F4056
RGBrgb(15, 64, 86)
HSLhsl(199, 70%, 20%)
HSVhsv(199, 83%, 34%)
CMYKcmyk(82.6%, 25.6%, 0%, 66.3%)
CIE-LABlab(25.08, -7.45, -17.77)
CIE-LCHlch(25.08, 19.27, 247.26°)
OKLaboklab(35.08% -0.0384 -0.05)
OKLCHoklch(35.08% 0.063 232.5)
XYZxyz(3.7094, 4.4398, 9.4638)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4056 #56250F
analogous
#0F5649 #0F4056 #0F1C56
triadic
#0F4056 #560F40 #40560F
tetradic
#0F4056 #490F56 #56250F #1C560F
square
#0F4056 #490F56 #56250F #1C560F
split-complementary
#0F4056 #560F1C #56490F
monochromatic
#05131A #061922 #0F4056 #18678A #218EBE

Accessibility & contrast

On white

11.12
#0F4056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#0F4056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4056
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4056#FFFFFF#000000##FFFFFF
##0F40561.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353F57
Deuteranopia (green-blind)
#2B3956
Tritanopia (blue-blind)
#004647
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0f4056;
/* rgb */ color: rgb(15, 64, 86);
/* oklch */ color: oklch(35.1% 0.063 232.5);
Tailwind
colors: {
  custom: {
    50: '#5a7485',
    500: '#0f4056',
    950: '#000000',
  },
}
SCSS
$custom: #0f4056;
$custom-light: #5a7485;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4056",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 86
  },
  "hsl": {
    "h": 198.592,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.35081,
    "c": 0.06311,
    "h": 232.5
  },
  "luminance": 0.0444
}

Semantic roles & 50–950 ramp

primary
#0F4056
secondary
#904E31
accent
#723BED
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #0F4056

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

Preview Lab → · Contrast checker → · Palette generator →

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