#0F4874#0F4874

#0F4874 is a dark, moderate cyan. Relative luminance 0.060; OKLCH L 39.0% C 0.093 H 247.3°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#0F4874
RGBrgb(15, 72, 116)
HSLhsl(206, 77%, 26%)
HSVhsv(206, 87%, 45%)
CMYKcmyk(87.1%, 37.9%, 0%, 54.5%)
CIE-LABlab(29.40, -0.39, -30.21)
CIE-LCHlch(29.40, 30.21, 269.26°)
OKLaboklab(39.04% -0.0361 -0.0861)
OKLCHoklch(39.04% 0.093 247.3)
XYZxyz(5.6655, 5.9965, 17.3785)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4874 #743B0F
analogous
#0F746D #0F4874 #0F1574
triadic
#0F4874 #740F48 #48740F
tetradic
#0F4874 #6D0F74 #743B0F #15740F
square
#0F4874 #6D0F74 #743B0F #15740F
split-complementary
#0F4874 #740F15 #746D0F
monochromatic
#04111B #08263E #0F4874 #166AAA #1D8BE0

Accessibility & contrast

On white

9.55
#0F4874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#0F4874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4874
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4874#FFFFFF#000000##FFFFFF
##0F48741.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334A76
Deuteranopia (green-blind)
#244173
Tritanopia (blue-blind)
#005358
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f4874;
/* rgb */ color: rgb(15, 72, 116);
/* oklch */ color: oklch(39.0% 0.093 247.3);
Tailwind
colors: {
  custom: {
    50: '#617a9c',
    500: '#0f4874',
    950: '#000000',
  },
}
SCSS
$custom: #0f4874;
$custom-light: #617a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4874",
  "rgb": {
    "r": 15,
    "g": 72,
    "b": 116
  },
  "hsl": {
    "h": 206.139,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.39044,
    "c": 0.09338,
    "h": 247.3
  },
  "luminance": 0.05997
}

Semantic roles & 50–950 ramp

primary
#0F4874
secondary
#AC6833
accent
#8834F4
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #0F4874

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

Preview Lab → · Contrast checker → · Palette generator →

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