#0F4F5A#0F4F5A

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

Color values

HEX#0F4F5A
RGBrgb(15, 79, 90)
HSLhsl(189, 71%, 21%)
HSVhsv(189, 83%, 35%)
CMYKcmyk(83.3%, 12.2%, 0%, 64.7%)
CIE-LABlab(30.48, -15.03, -12.04)
CIE-LCHlch(30.48, 19.26, 218.70°)
OKLaboklab(39.47% -0.0534 -0.0336)
OKLCHoklch(39.47% 0.063 212.2)
XYZxyz(4.8376, 6.4311, 10.6572)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4F5A #5A1A0F
analogous
#0F5A3F #0F4F5A #0F295A
triadic
#0F4F5A #5A0F4F #4F5A0F
tetradic
#0F4F5A #3F0F5A #5A1A0F #295A0F
square
#0F4F5A #3F0F5A #5A1A0F #295A0F
split-complementary
#0F4F5A #5A0F29 #5A3F0F
monochromatic
#04171A #062126 #0F4F5A #187D8E #20ABC3

Accessibility & contrast

On white

9.18
#0F4F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4F5A
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4F5A#FFFFFF#000000##FFFFFF
##0F4F5A1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464C5B
Deuteranopia (green-blind)
#3C455A
Tritanopia (blue-blind)
#005352
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0f4f5a;
/* rgb */ color: rgb(15, 79, 90);
/* oklch */ color: oklch(39.5% 0.063 212.2);
Tailwind
colors: {
  custom: {
    50: '#5c8088',
    500: '#0f4f5a',
    950: '#000000',
  },
}
SCSS
$custom: #0f4f5a;
$custom-light: #5c8088;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4f5a",
  "rgb": {
    "r": 15,
    "g": 79,
    "b": 90
  },
  "hsl": {
    "h": 188.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.39474,
    "c": 0.06306,
    "h": 212.2
  },
  "luminance": 0.06432
}

Semantic roles & 50–950 ramp

primary
#0F4F5A
secondary
#944031
accent
#543AEE
background
#F5F7F8
surface
#E9EEEF
border
#C5C9CA
text
#050A0B
muted
#797C7C

Preview Lab

Preview with #0F4F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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