#0F4054#0F4054

#0F4054 is a dark, moderate cyan. Relative luminance 0.044; OKLCH L 35.0% C 0.061 H 229.9°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#0F4054
RGBrgb(15, 64, 84)
HSLhsl(197, 70%, 19%)
HSVhsv(197, 82%, 33%)
CMYKcmyk(82.1%, 23.8%, 0%, 67.1%)
CIE-LABlab(24.98, -8.24, -16.62)
CIE-LCHlch(24.98, 18.55, 243.62°)
OKLaboklab(34.97% -0.0393 -0.0467)
OKLCHoklch(34.97% 0.061 229.9)
XYZxyz(3.6300, 4.4080, 9.0453)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4054 #54230F
analogous
#0F5446 #0F4054 #0F1E54
triadic
#0F4054 #540F40 #40540F
tetradic
#0F4054 #460F54 #54230F #1E540F
square
#0F4054 #460F54 #54230F #1E540F
split-complementary
#0F4054 #540F1E #54460F
monochromatic
#05141A #061820 #0F4054 #186888 #228FBC

Accessibility & contrast

On white

11.16
#0F4054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4054
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4054#FFFFFF#000000##FFFFFF
##0F40541.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363F55
Deuteranopia (green-blind)
#2C3854
Tritanopia (blue-blind)
#004647
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0f4054;
/* rgb */ color: rgb(15, 64, 84);
/* oklch */ color: oklch(35.0% 0.061 229.9);
Tailwind
colors: {
  custom: {
    50: '#5a7484',
    500: '#0f4054',
    950: '#000000',
  },
}
SCSS
$custom: #0f4054;
$custom-light: #5a7484;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4054",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 84
  },
  "hsl": {
    "h": 197.391,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.3497,
    "c": 0.06102,
    "h": 229.9
  },
  "luminance": 0.04408
}

Semantic roles & 50–950 ramp

primary
#0F4054
secondary
#8E4C31
accent
#6F3BED
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080A
muted
#797B7C

Preview Lab

Preview with #0F4054

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

Preview Lab → · Contrast checker → · Palette generator →

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