#0F4057#0F4057

#0F4057 is a dark, moderate cyan. Relative luminance 0.045; OKLCH L 35.1% C 0.064 H 233.6°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#0F4057
RGBrgb(15, 64, 87)
HSLhsl(199, 71%, 20%)
HSVhsv(199, 83%, 34%)
CMYKcmyk(82.8%, 26.4%, 0%, 65.9%)
CIE-LABlab(25.13, -7.05, -18.35)
CIE-LCHlch(25.13, 19.66, 248.99°)
OKLaboklab(35.14% -0.038 -0.0517)
OKLCHoklch(35.14% 0.064 233.6)
XYZxyz(3.7500, 4.4560, 9.6774)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4057 #57260F
analogous
#0F574A #0F4057 #0F1C57
triadic
#0F4057 #570F40 #40570F
tetradic
#0F4057 #4A0F57 #57260F #1C570F
square
#0F4057 #4A0F57 #57260F #1C570F
split-complementary
#0F4057 #570F1C #574A0F
monochromatic
#05131A #061A23 #0F4057 #18668B #218DBF

Accessibility & contrast

On white

11.10
#0F4057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4057
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4057#FFFFFF#000000##FFFFFF
##0F40571.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353F58
Deuteranopia (green-blind)
#2B3957
Tritanopia (blue-blind)
#004648
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0f4057;
/* rgb */ color: rgb(15, 64, 87);
/* oklch */ color: oklch(35.1% 0.064 233.6);
Tailwind
colors: {
  custom: {
    50: '#5a7486',
    500: '#0f4057',
    950: '#000000',
  },
}
SCSS
$custom: #0f4057;
$custom-light: #5a7486;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4057",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 87
  },
  "hsl": {
    "h": 199.167,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.35137,
    "c": 0.06419,
    "h": 233.6
  },
  "luminance": 0.04456
}

Semantic roles & 50–950 ramp

primary
#0F4057
secondary
#915031
accent
#743AED
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #0F4057

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

Preview Lab → · Contrast checker → · Palette generator →

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