#0F4156#0F4156

#0F4156 is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 35.4% C 0.063 H 230.8°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#0F4156
RGBrgb(15, 65, 86)
HSLhsl(198, 70%, 20%)
HSVhsv(198, 83%, 34%)
CMYKcmyk(82.6%, 24.4%, 0%, 66.3%)
CIE-LABlab(25.42, -8.09, -17.23)
CIE-LCHlch(25.42, 19.04, 244.86°)
OKLaboklab(35.36% -0.0396 -0.0485)
OKLCHoklch(35.36% 0.063 230.8)
XYZxyz(3.7663, 4.5536, 9.4827)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4156 #56240F
analogous
#0F5647 #0F4156 #0F1E56
triadic
#0F4156 #560F41 #41560F
tetradic
#0F4156 #470F56 #56240F #1E560F
square
#0F4156 #470F56 #56240F #1E560F
split-complementary
#0F4156 #560F1E #56470F
monochromatic
#05141A #061A22 #0F4156 #18688A #2190BE

Accessibility & contrast

On white

10.99
#0F4156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#0F4156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4156
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4156#FFFFFF#000000##FFFFFF
##0F41561.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364057
Deuteranopia (green-blind)
#2D3956
Tritanopia (blue-blind)
#004748
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0f4156;
/* rgb */ color: rgb(15, 65, 86);
/* oklch */ color: oklch(35.4% 0.063 230.8);
Tailwind
colors: {
  custom: {
    50: '#5a7585',
    500: '#0f4156',
    950: '#000000',
  },
}
SCSS
$custom: #0f4156;
$custom-light: #5a7585;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4156",
  "rgb": {
    "r": 15,
    "g": 65,
    "b": 86
  },
  "hsl": {
    "h": 197.746,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.35358,
    "c": 0.06257,
    "h": 230.8
  },
  "luminance": 0.04554
}

Semantic roles & 50–950 ramp

primary
#0F4156
secondary
#904D31
accent
#6F3BED
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #0F4156

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

Preview Lab → · Contrast checker → · Palette generator →

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