#0F4174#0F4174

#0F4174 is a dark, moderate cyan. Relative luminance 0.051; OKLCH L 37.3% C 0.101 H 252.9°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#0F4174
RGBrgb(15, 65, 116)
HSLhsl(210, 77%, 26%)
HSVhsv(210, 87%, 45%)
CMYKcmyk(87.1%, 44%, 0%, 54.5%)
CIE-LABlab(27.14, 4.34, -33.82)
CIE-LCHlch(27.14, 34.09, 277.32°)
OKLaboklab(37.27% -0.0297 -0.0969)
OKLCHoklch(37.27% 0.101 252.9)
XYZxyz(5.2385, 5.1425, 17.2361)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4174 #74420F
analogous
#0F7374 #0F4174 #0F0F74
triadic
#0F4174 #740F41 #41740F
tetradic
#0F4174 #740F73 #74420F #0F740F
square
#0F4174 #740F73 #74420F #0F740F
split-complementary
#0F4174 #740F0F #73740F
monochromatic
#040F1B #08233E #0F4174 #165FAA #1D7EE0

Accessibility & contrast

On white

10.35
#0F4174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#0F4174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4174
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4174#FFFFFF#000000##FFFFFF
##0F41741.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274576
Deuteranopia (green-blind)
#153C73
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0f4174;
/* rgb */ color: rgb(15, 65, 116);
/* oklch */ color: oklch(37.3% 0.101 252.9);
Tailwind
colors: {
  custom: {
    50: '#61759c',
    500: '#0f4174',
    950: '#000000',
  },
}
SCSS
$custom: #0f4174;
$custom-light: #61759c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4174",
  "rgb": {
    "r": 15,
    "g": 65,
    "b": 116
  },
  "hsl": {
    "h": 210.297,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.37269,
    "c": 0.10132,
    "h": 252.9
  },
  "luminance": 0.05143
}

Semantic roles & 50–950 ramp

primary
#0F4174
secondary
#AC7033
accent
#9534F4
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #0F4174

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

Preview Lab → · Contrast checker → · Palette generator →

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