#0F4051#0F4051

#0F4051 is a dark, muted cyan. Relative luminance 0.044; OKLCH L 34.8% C 0.058 H 225.8°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#0F4051
RGBrgb(15, 64, 81)
HSLhsl(195, 69%, 19%)
HSVhsv(195, 81%, 32%)
CMYKcmyk(81.5%, 21%, 0%, 68.2%)
CIE-LABlab(24.83, -9.42, -14.87)
CIE-LCHlch(24.83, 17.61, 237.64°)
OKLaboklab(34.81% -0.0406 -0.0417)
OKLCHoklch(34.81% 0.058 225.8)
XYZxyz(3.5150, 4.3620, 8.4397)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4051 #51200F
analogous
#0F5141 #0F4051 #0F1F51
triadic
#0F4051 #510F40 #40510F
tetradic
#0F4051 #410F51 #51200F #1F510F
square
#0F4051 #410F51 #51200F #1F510F
split-complementary
#0F4051 #510F1F #51410F
monochromatic
#05141A #05171D #0F4051 #196985 #2292B8

Accessibility & contrast

On white

11.22
#0F4051 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#0F4051 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4051
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4051#FFFFFF#000000##FFFFFF
##0F40511.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373F52
Deuteranopia (green-blind)
#2E3851
Tritanopia (blue-blind)
#004546
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0f4051;
/* rgb */ color: rgb(15, 64, 81);
/* oklch */ color: oklch(34.8% 0.058 225.8);
Tailwind
colors: {
  custom: {
    50: '#597482',
    500: '#0f4051',
    950: '#000000',
  },
}
SCSS
$custom: #0f4051;
$custom-light: #597482;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4051",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 81
  },
  "hsl": {
    "h": 195.455,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.34808,
    "c": 0.05817,
    "h": 225.8
  },
  "luminance": 0.04362
}

Semantic roles & 50–950 ramp

primary
#0F4051
secondary
#8B4831
accent
#693CEC
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#04080A
muted
#797B7C

Preview Lab

Preview with #0F4051

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

Preview Lab → · Contrast checker → · Palette generator →

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