#0F4D62#0F4D62

#0F4D62 is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.3% C 0.069 H 226.2°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#0F4D62
RGBrgb(15, 77, 98)
HSLhsl(195, 73%, 22%)
HSVhsv(195, 85%, 38%)
CMYKcmyk(84.7%, 21.4%, 0%, 61.6%)
CIE-LABlab(30.13, -10.83, -17.66)
CIE-LCHlch(30.13, 20.72, 238.50°)
OKLaboklab(39.32% -0.0476 -0.0496)
OKLCHoklch(39.32% 0.069 226.2)
XYZxyz(5.0546, 6.2905, 12.5007)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4D62 #62240F
analogous
#0F624E #0F4D62 #0F2362
triadic
#0F4D62 #620F4D #4D620F
tetradic
#0F4D62 #4E0F62 #62240F #23620F
square
#0F4D62 #4E0F62 #62240F #23620F
split-complementary
#0F4D62 #620F23 #624E0F
monochromatic
#04151B #07232D #0F4D62 #177797 #1FA0CC

Accessibility & contrast

On white

9.30
#0F4D62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#0F4D62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4D62
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4D62#FFFFFF#000000##FFFFFF
##0F4D621.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424B63
Deuteranopia (green-blind)
#374462
Tritanopia (blue-blind)
#005354
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f4d62;
/* rgb */ color: rgb(15, 77, 98);
/* oklch */ color: oklch(39.3% 0.069 226.2);
Tailwind
colors: {
  custom: {
    50: '#5d7e8e',
    500: '#0f4d62',
    950: '#000000',
  },
}
SCSS
$custom: #0f4d62;
$custom-light: #5d7e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4d62",
  "rgb": {
    "r": 15,
    "g": 77,
    "b": 98
  },
  "hsl": {
    "h": 195.181,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.39315,
    "c": 0.06877,
    "h": 226.2
  },
  "luminance": 0.06291
}

Semantic roles & 50–950 ramp

primary
#0F4D62
secondary
#9B4C32
accent
#6638F0
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#050A0C
muted
#797C7D

Preview Lab

Preview with #0F4D62

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

Preview Lab → · Contrast checker → · Palette generator →

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