#0F4C62#0F4C62

#0F4C62 is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.0% C 0.069 H 227.7°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#0F4C62
RGBrgb(15, 76, 98)
HSLhsl(196, 73%, 22%)
HSVhsv(196, 85%, 38%)
CMYKcmyk(84.7%, 22.4%, 0%, 61.6%)
CIE-LABlab(29.79, -10.22, -18.19)
CIE-LCHlch(29.79, 20.87, 240.68°)
OKLaboklab(39.04% -0.0466 -0.0511)
OKLCHoklch(39.04% 0.069 227.7)
XYZxyz(4.9851, 6.1517, 12.4776)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4C62 #62250F
analogous
#0F624F #0F4C62 #0F2262
triadic
#0F4C62 #620F4C #4C620F
tetradic
#0F4C62 #4F0F62 #62250F #22620F
square
#0F4C62 #4F0F62 #62250F #22620F
split-complementary
#0F4C62 #620F22 #624F0F
monochromatic
#04151B #07232D #0F4C62 #177597 #1F9ECC

Accessibility & contrast

On white

9.42
#0F4C62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#0F4C62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4C62
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4C62#FFFFFF#000000##FFFFFF
##0F4C621.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404B63
Deuteranopia (green-blind)
#354362
Tritanopia (blue-blind)
#005253
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0f4c62;
/* rgb */ color: rgb(15, 76, 98);
/* oklch */ color: oklch(39.0% 0.069 227.7);
Tailwind
colors: {
  custom: {
    50: '#5d7e8e',
    500: '#0f4c62',
    950: '#000000',
  },
}
SCSS
$custom: #0f4c62;
$custom-light: #5d7e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4c62",
  "rgb": {
    "r": 15,
    "g": 76,
    "b": 98
  },
  "hsl": {
    "h": 195.904,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.39041,
    "c": 0.06915,
    "h": 227.7
  },
  "luminance": 0.06152
}

Semantic roles & 50–950 ramp

primary
#0F4C62
secondary
#9B4E32
accent
#6938F0
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #0F4C62

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

Preview Lab → · Contrast checker → · Palette generator →

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