#0F4157#0F4157

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

Color values

HEX#0F4157
RGBrgb(15, 65, 87)
HSLhsl(198, 71%, 20%)
HSVhsv(198, 83%, 34%)
CMYKcmyk(82.8%, 25.3%, 0%, 65.9%)
CIE-LABlab(25.47, -7.69, -17.81)
CIE-LCHlch(25.47, 19.40, 246.65°)
OKLaboklab(35.41% -0.0391 -0.0501)
OKLCHoklch(35.41% 0.064 232)
XYZxyz(3.8069, 4.5698, 9.6964)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4157 #57250F
analogous
#0F5749 #0F4157 #0F1D57
triadic
#0F4157 #570F41 #41570F
tetradic
#0F4157 #490F57 #57250F #1D570F
square
#0F4157 #490F57 #57250F #1D570F
split-complementary
#0F4157 #570F1D #57490F
monochromatic
#05141A #061A23 #0F4157 #18688B #218FBF

Accessibility & contrast

On white

10.97
#0F4157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4157
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4157#FFFFFF#000000##FFFFFF
##0F41571.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f4157;
/* rgb */ color: rgb(15, 65, 87);
/* oklch */ color: oklch(35.4% 0.064 232.0);
Tailwind
colors: {
  custom: {
    50: '#5a7586',
    500: '#0f4157',
    950: '#000000',
  },
}
SCSS
$custom: #0f4157;
$custom-light: #5a7586;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4157",
  "rgb": {
    "r": 15,
    "g": 65,
    "b": 87
  },
  "hsl": {
    "h": 198.333,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.35414,
    "c": 0.06361,
    "h": 232
  },
  "luminance": 0.0457
}

Semantic roles & 50–950 ramp

primary
#0F4157
secondary
#914E31
accent
#713AED
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #0F4157

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

Preview Lab → · Contrast checker → · Palette generator →

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