#0F4074#0F4074

#0F4074 is a dark, moderate cyan. Relative luminance 0.050; OKLCH L 37.0% C 0.103 H 253.6°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#0F4074
RGBrgb(15, 64, 116)
HSLhsl(211, 77%, 26%)
HSVhsv(211, 87%, 45%)
CMYKcmyk(87.1%, 44.8%, 0%, 54.5%)
CIE-LABlab(26.82, 5.04, -34.33)
CIE-LCHlch(26.82, 34.70, 278.34°)
OKLaboklab(37.02% -0.0289 -0.0984)
OKLCHoklch(37.02% 0.103 253.6)
XYZxyz(5.1816, 5.0287, 17.2171)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4074 #74430F
analogous
#0F7274 #0F4074 #100F74
triadic
#0F4074 #740F40 #40740F
tetradic
#0F4074 #740F72 #74430F #0F7410
square
#0F4074 #740F72 #74430F #0F7410
split-complementary
#0F4074 #74100F #72740F
monochromatic
#040F1B #08223E #0F4074 #165EAA #1D7CE0

Accessibility & contrast

On white

10.47
#0F4074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#0F4074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4074
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4074#FFFFFF#000000##FFFFFF
##0F40741.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254476
Deuteranopia (green-blind)
#123B73
Tritanopia (blue-blind)
#004C54
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0f4074;
/* rgb */ color: rgb(15, 64, 116);
/* oklch */ color: oklch(37.0% 0.103 253.6);
Tailwind
colors: {
  custom: {
    50: '#61749c',
    500: '#0f4074',
    950: '#000000',
  },
}
SCSS
$custom: #0f4074;
$custom-light: #61749c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4074",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 116
  },
  "hsl": {
    "h": 210.891,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3702,
    "c": 0.10254,
    "h": 253.6
  },
  "luminance": 0.05029
}

Semantic roles & 50–950 ramp

primary
#0F4074
secondary
#AC7133
accent
#9734F4
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #0F4074

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

Preview Lab → · Contrast checker → · Palette generator →

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