#0F4858#0F4858

#0F4858 is a dark, moderate cyan. Relative luminance 0.054; OKLCH L 37.4% C 0.062 H 221.3°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#0F4858
RGBrgb(15, 72, 88)
HSLhsl(193, 71%, 20%)
HSVhsv(193, 83%, 35%)
CMYKcmyk(83%, 18.2%, 0%, 65.5%)
CIE-LABlab(27.95, -11.64, -14.62)
CIE-LCHlch(27.95, 18.69, 231.47°)
OKLaboklab(37.42% -0.0465 -0.0409)
OKLCHoklch(37.42% 0.062 221.3)
XYZxyz(4.2751, 5.4403, 10.0554)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4858 #581F0F
analogous
#0F5844 #0F4858 #0F2358
triadic
#0F4858 #580F48 #48580F
tetradic
#0F4858 #440F58 #581F0F #23580F
square
#0F4858 #440F58 #581F0F #23580F
split-complementary
#0F4858 #580F23 #58440F
monochromatic
#04151A #061D24 #0F4858 #18738C #219EC1

Accessibility & contrast

On white

10.06
#0F4858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#0F4858 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4858
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4858#FFFFFF#000000##FFFFFF
##0F48581.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4659
Deuteranopia (green-blind)
#353F58
Tritanopia (blue-blind)
#004D4D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0f4858;
/* rgb */ color: rgb(15, 72, 88);
/* oklch */ color: oklch(37.4% 0.062 221.3);
Tailwind
colors: {
  custom: {
    50: '#5b7b87',
    500: '#0f4858',
    950: '#000000',
  },
}
SCSS
$custom: #0f4858;
$custom-light: #5b7b87;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4858",
  "rgb": {
    "r": 15,
    "g": 72,
    "b": 88
  },
  "hsl": {
    "h": 193.151,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.37416,
    "c": 0.06194,
    "h": 221.3
  },
  "luminance": 0.05441
}

Semantic roles & 50–950 ramp

primary
#0F4858
secondary
#924631
accent
#623AEE
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04090B
muted
#797B7C

Preview Lab

Preview with #0F4858

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

Preview Lab → · Contrast checker → · Palette generator →

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