#0F4F5B#0F4F5B

#0F4F5B is a dark, moderate teal. Relative luminance 0.064; OKLCH L 39.5% C 0.064 H 213.6°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#0F4F5B
RGBrgb(15, 79, 91)
HSLhsl(189, 72%, 21%)
HSVhsv(189, 84%, 36%)
CMYKcmyk(83.5%, 13.2%, 0%, 64.3%)
CIE-LABlab(30.52, -14.66, -12.62)
CIE-LCHlch(30.52, 19.34, 220.72°)
OKLaboklab(39.52% -0.0529 -0.0352)
OKLCHoklch(39.52% 0.064 213.6)
XYZxyz(4.8805, 6.4483, 10.8829)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4F5B #5B1B0F
analogous
#0F5B41 #0F4F5B #0F295B
triadic
#0F4F5B #5B0F4F #4F5B0F
tetradic
#0F4F5B #410F5B #5B1B0F #295B0F
square
#0F4F5B #410F5B #5B1B0F #295B0F
split-complementary
#0F4F5B #5B0F29 #5B410F
monochromatic
#04171A #062126 #0F4F5B #187D90 #20AAC4

Accessibility & contrast

On white

9.17
#0F4F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#0F4F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4F5B
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4F5B#FFFFFF#000000##FFFFFF
##0F4F5B1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464C5C
Deuteranopia (green-blind)
#3C455B
Tritanopia (blue-blind)
#005453
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0f4f5b;
/* rgb */ color: rgb(15, 79, 91);
/* oklch */ color: oklch(39.5% 0.064 213.6);
Tailwind
colors: {
  custom: {
    50: '#5c8089',
    500: '#0f4f5b',
    950: '#000000',
  },
}
SCSS
$custom: #0f4f5b;
$custom-light: #5c8089;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4f5b",
  "rgb": {
    "r": 15,
    "g": 79,
    "b": 91
  },
  "hsl": {
    "h": 189.474,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39521,
    "c": 0.06354,
    "h": 213.6
  },
  "luminance": 0.06449
}

Semantic roles & 50–950 ramp

primary
#0F4F5B
secondary
#954131
accent
#5639EE
background
#F5F7F8
surface
#E9EEF0
border
#C5C9CB
text
#050A0B
muted
#797C7C

Preview Lab

Preview with #0F4F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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