#0F3751#0F3751

#0F3751 is a dark, moderate cyan. Relative luminance 0.034; OKLCH L 32.3% C 0.064 H 241.5°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#0F3751
RGBrgb(15, 55, 81)
HSLhsl(204, 69%, 19%)
HSVhsv(204, 81%, 32%)
CMYKcmyk(81.5%, 32.1%, 0%, 68.2%)
CIE-LABlab(21.68, -3.57, -19.78)
CIE-LCHlch(21.68, 20.10, 259.77°)
OKLaboklab(32.3% -0.0304 -0.0559)
OKLCHoklch(32.3% 0.064 241.5)
XYZxyz(3.0478, 3.4277, 8.2840)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3751 #51290F
analogous
#0F514A #0F3751 #0F1651
triadic
#0F3751 #510F37 #37510F
tetradic
#0F3751 #4A0F51 #51290F #16510F
square
#0F3751 #4A0F51 #51290F #16510F
split-complementary
#0F3751 #510F16 #514A0F
monochromatic
#05121A #05141D #0F3751 #195A85 #227DB8

Accessibility & contrast

On white

12.46
#0F3751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#0F3751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3751
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3751#FFFFFF#000000##FFFFFF
##0F37511.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3752
Deuteranopia (green-blind)
#223151
Tritanopia (blue-blind)
#003D40
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0f3751;
/* rgb */ color: rgb(15, 55, 81);
/* oklch */ color: oklch(32.3% 0.064 241.5);
Tailwind
colors: {
  custom: {
    50: '#586d82',
    500: '#0f3751',
    950: '#000000',
  },
}
SCSS
$custom: #0f3751;
$custom-light: #586d82;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3751",
  "rgb": {
    "r": 15,
    "g": 55,
    "b": 81
  },
  "hsl": {
    "h": 203.636,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.32297,
    "c": 0.06366,
    "h": 241.5
  },
  "luminance": 0.03428
}

Semantic roles & 50–950 ramp

primary
#0F3751
secondary
#8B5431
accent
#813CEC
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04070A
muted
#797A7C

Preview Lab

Preview with #0F3751

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

Preview Lab → · Contrast checker → · Palette generator →

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