#0F4255#0F4255

#0F4255 is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 35.6% C 0.061 H 227.7°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#0F4255
RGBrgb(15, 66, 85)
HSLhsl(196, 70%, 20%)
HSVhsv(196, 82%, 33%)
CMYKcmyk(82.4%, 22.4%, 0%, 66.7%)
CIE-LABlab(25.72, -9.11, -16.11)
CIE-LCHlch(25.72, 18.51, 240.52°)
OKLaboklab(35.58% -0.0411 -0.0452)
OKLCHoklch(35.58% 0.061 227.7)
XYZxyz(3.7842, 4.6534, 9.2913)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4255 #55220F
analogous
#0F5545 #0F4255 #0F1F55
triadic
#0F4255 #550F42 #42550F
tetradic
#0F4255 #450F55 #55220F #1F550F
square
#0F4255 #450F55 #55220F #1F550F
split-complementary
#0F4255 #550F1F #55450F
monochromatic
#05141A #061A21 #0F4255 #186A89 #2193BD

Accessibility & contrast

On white

10.88
#0F4255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#0F4255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4255
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4255#FFFFFF#000000##FFFFFF
##0F42551.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384156
Deuteranopia (green-blind)
#2F3A55
Tritanopia (blue-blind)
#004748
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0f4255;
/* rgb */ color: rgb(15, 66, 85);
/* oklch */ color: oklch(35.6% 0.061 227.7);
Tailwind
colors: {
  custom: {
    50: '#5a7685',
    500: '#0f4255',
    950: '#000000',
  },
}
SCSS
$custom: #0f4255;
$custom-light: #5a7685;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4255",
  "rgb": {
    "r": 15,
    "g": 66,
    "b": 85
  },
  "hsl": {
    "h": 196.286,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.35583,
    "c": 0.06112,
    "h": 227.7
  },
  "luminance": 0.04654
}

Semantic roles & 50–950 ramp

primary
#0F4255
secondary
#8F4A31
accent
#6B3BED
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #0F4255

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

Preview Lab → · Contrast checker → · Palette generator →

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