#0F4256#0F4256

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

Color values

HEX#0F4256
RGBrgb(15, 66, 86)
HSLhsl(197, 70%, 20%)
HSVhsv(197, 83%, 34%)
CMYKcmyk(82.6%, 23.3%, 0%, 66.3%)
CIE-LABlab(25.77, -8.72, -16.69)
CIE-LCHlch(25.77, 18.83, 242.42°)
OKLaboklab(35.64% -0.0407 -0.0469)
OKLCHoklch(35.64% 0.062 229.1)
XYZxyz(3.8242, 4.6694, 9.5020)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4256 #56230F
analogous
#0F5646 #0F4256 #0F1F56
triadic
#0F4256 #560F42 #42560F
tetradic
#0F4256 #460F56 #56230F #1F560F
square
#0F4256 #460F56 #56230F #1F560F
split-complementary
#0F4256 #560F1F #56460F
monochromatic
#05141A #061A22 #0F4256 #186A8A #2192BE

Accessibility & contrast

On white

10.86
#0F4256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4256
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4256#FFFFFF#000000##FFFFFF
##0F42561.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384157
Deuteranopia (green-blind)
#2E3A56
Tritanopia (blue-blind)
#004849
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0f4256;
/* rgb */ color: rgb(15, 66, 86);
/* oklch */ color: oklch(35.6% 0.062 229.1);
Tailwind
colors: {
  custom: {
    50: '#5a7685',
    500: '#0f4256',
    950: '#000000',
  },
}
SCSS
$custom: #0f4256;
$custom-light: #5a7685;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4256",
  "rgb": {
    "r": 15,
    "g": 66,
    "b": 86
  },
  "hsl": {
    "h": 196.901,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.35636,
    "c": 0.06208,
    "h": 229.1
  },
  "luminance": 0.0467
}

Semantic roles & 50–950 ramp

primary
#0F4256
secondary
#904C31
accent
#6D3BED
background
#F5F7F8
surface
#E9EDEF
border
#C5C8CA
text
#04080B
muted
#797B7C

Preview Lab

Preview with #0F4256

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

Preview Lab → · Contrast checker → · Palette generator →

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