#0F3C56#0F3C56

#0F3C56 is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.0% C 0.066 H 238.9°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#0F3C56
RGBrgb(15, 60, 86)
HSLhsl(202, 70%, 20%)
HSVhsv(202, 83%, 34%)
CMYKcmyk(82.6%, 30.2%, 0%, 66.3%)
CIE-LABlab(23.69, -4.85, -19.94)
CIE-LCHlch(23.69, 20.52, 256.34°)
OKLaboklab(33.98% -0.034 -0.0563)
OKLCHoklch(33.98% 0.066 238.9)
XYZxyz(3.4919, 4.0047, 9.3913)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3C56 #56290F
analogous
#0F564D #0F3C56 #0F1856
triadic
#0F3C56 #560F3C #3C560F
tetradic
#0F3C56 #4D0F56 #56290F #18560F
square
#0F3C56 #4D0F56 #56290F #18560F
split-complementary
#0F3C56 #560F18 #564D0F
monochromatic
#05121A #061822 #0F3C56 #18608A #2185BE

Accessibility & contrast

On white

11.66
#0F3C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#0F3C56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3C56
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3C56#FFFFFF#000000##FFFFFF
##0F3C561.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303C57
Deuteranopia (green-blind)
#263556
Tritanopia (blue-blind)
#004345
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0f3c56;
/* rgb */ color: rgb(15, 60, 86);
/* oklch */ color: oklch(34.0% 0.066 238.9);
Tailwind
colors: {
  custom: {
    50: '#5a7185',
    500: '#0f3c56',
    950: '#000000',
  },
}
SCSS
$custom: #0f3c56;
$custom-light: #5a7185;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3c56",
  "rgb": {
    "r": 15,
    "g": 60,
    "b": 86
  },
  "hsl": {
    "h": 201.972,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.33976,
    "c": 0.06583,
    "h": 238.9
  },
  "luminance": 0.04005
}

Semantic roles & 50–950 ramp

primary
#0F3C56
secondary
#905431
accent
#7C3BED
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #0F3C56

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

Preview Lab → · Contrast checker → · Palette generator →

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