#0F4257#0F4257

#0F4257 is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 35.7% C 0.063 H 230.3°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#0F4257
RGBrgb(15, 66, 87)
HSLhsl(198, 71%, 20%)
HSVhsv(198, 83%, 34%)
CMYKcmyk(82.8%, 24.1%, 0%, 65.9%)
CIE-LABlab(25.82, -8.32, -17.27)
CIE-LCHlch(25.82, 19.17, 244.27°)
OKLaboklab(35.69% -0.0403 -0.0486)
OKLCHoklch(35.69% 0.063 230.3)
XYZxyz(3.8648, 4.6856, 9.7157)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4257 #57240F
analogous
#0F5748 #0F4257 #0F1E57
triadic
#0F4257 #570F42 #42570F
tetradic
#0F4257 #480F57 #57240F #1E570F
square
#0F4257 #480F57 #57240F #1E570F
split-complementary
#0F4257 #570F1E #57480F
monochromatic
#05141A #061A23 #0F4257 #186A8B #2191BF

Accessibility & contrast

On white

10.84
#0F4257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#0F4257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4257
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4257#FFFFFF#000000##FFFFFF
##0F42571.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374158
Deuteranopia (green-blind)
#2E3A57
Tritanopia (blue-blind)
#004849
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0f4257;
/* rgb */ color: rgb(15, 66, 87);
/* oklch */ color: oklch(35.7% 0.063 230.3);
Tailwind
colors: {
  custom: {
    50: '#5a7686',
    500: '#0f4257',
    950: '#000000',
  },
}
SCSS
$custom: #0f4257;
$custom-light: #5a7686;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4257",
  "rgb": {
    "r": 15,
    "g": 66,
    "b": 87
  },
  "hsl": {
    "h": 197.5,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.35691,
    "c": 0.06308,
    "h": 230.3
  },
  "luminance": 0.04686
}

Semantic roles & 50–950 ramp

primary
#0F4257
secondary
#914D31
accent
#6F3AED
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #0F4257

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

Preview Lab → · Contrast checker → · Palette generator →

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