#0F4072#0F4072

#0F4072 is a dark, moderate cyan. Relative luminance 0.050; OKLCH L 36.9% C 0.100 H 252.9°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#0F4072
RGBrgb(15, 64, 114)
HSLhsl(210, 77%, 25%)
HSVhsv(210, 87%, 45%)
CMYKcmyk(86.8%, 43.9%, 0%, 55.3%)
CIE-LABlab(26.69, 4.19, -33.27)
CIE-LCHlch(26.69, 33.53, 277.17°)
OKLaboklab(36.88% -0.0293 -0.0953)
OKLCHoklch(36.88% 0.1 252.9)
XYZxyz(5.0665, 4.9826, 16.6110)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4072 #72410F
analogous
#0F7172 #0F4072 #0F0F72
triadic
#0F4072 #720F40 #40720F
tetradic
#0F4072 #720F71 #72410F #0F720F
square
#0F4072 #720F71 #72410F #0F720F
split-complementary
#0F4072 #720F0F #71720F
monochromatic
#040F1B #08223C #0F4072 #165EA8 #1D7DDE

Accessibility & contrast

On white

10.52
#0F4072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#0F4072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4072
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4072#FFFFFF#000000##FFFFFF
##0F40721.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274474
Deuteranopia (green-blind)
#153B71
Tritanopia (blue-blind)
#004C53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0f4072;
/* rgb */ color: rgb(15, 64, 114);
/* oklch */ color: oklch(36.9% 0.100 252.9);
Tailwind
colors: {
  custom: {
    50: '#60749b',
    500: '#0f4072',
    950: '#000000',
  },
}
SCSS
$custom: #0f4072;
$custom-light: #60749b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4072",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 114
  },
  "hsl": {
    "h": 210.303,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36875,
    "c": 0.0997,
    "h": 252.9
  },
  "luminance": 0.04983
}

Semantic roles & 50–950 ramp

primary
#0F4072
secondary
#AA6F33
accent
#9535F3
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #0F4072

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

Preview Lab → · Contrast checker → · Palette generator →

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