#0F4052#0F4052

#0F4052 is a dark, muted cyan. Relative luminance 0.044; OKLCH L 34.9% C 0.059 H 227.2°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#0F4052
RGBrgb(15, 64, 82)
HSLhsl(196, 69%, 19%)
HSVhsv(196, 82%, 32%)
CMYKcmyk(81.7%, 22%, 0%, 67.8%)
CIE-LABlab(24.88, -9.03, -15.45)
CIE-LCHlch(24.88, 17.90, 239.70°)
OKLaboklab(34.86% -0.0401 -0.0434)
OKLCHoklch(34.86% 0.059 227.2)
XYZxyz(3.5528, 4.3771, 8.6386)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4052 #52210F
analogous
#0F5243 #0F4052 #0F1F52
triadic
#0F4052 #520F40 #40520F
tetradic
#0F4052 #430F52 #52210F #1F520F
square
#0F4052 #430F52 #52210F #1F520F
split-complementary
#0F4052 #520F1F #52430F
monochromatic
#05141A #06181E #0F4052 #186886 #2291B9

Accessibility & contrast

On white

11.20
#0F4052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#0F4052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4052
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4052#FFFFFF#000000##FFFFFF
##0F40521.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363F53
Deuteranopia (green-blind)
#2D3852
Tritanopia (blue-blind)
#004546
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0f4052;
/* rgb */ color: rgb(15, 64, 82);
/* oklch */ color: oklch(34.9% 0.059 227.2);
Tailwind
colors: {
  custom: {
    50: '#597482',
    500: '#0f4052',
    950: '#000000',
  },
}
SCSS
$custom: #0f4052;
$custom-light: #597482;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4052",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 82
  },
  "hsl": {
    "h": 196.119,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.34861,
    "c": 0.05908,
    "h": 227.2
  },
  "luminance": 0.04378
}

Semantic roles & 50–950 ramp

primary
#0F4052
secondary
#8C4931
accent
#6B3CEC
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#04080A
muted
#797B7C

Preview Lab

Preview with #0F4052

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

Preview Lab → · Contrast checker → · Palette generator →

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