#0F3851#0F3851

#0F3851 is a dark, moderate cyan. Relative luminance 0.035; OKLCH L 32.6% C 0.063 H 239.9°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#0F3851
RGBrgb(15, 56, 81)
HSLhsl(203, 69%, 19%)
HSVhsv(203, 81%, 32%)
CMYKcmyk(81.5%, 30.9%, 0%, 68.2%)
CIE-LABlab(22.03, -4.24, -19.23)
CIE-LCHlch(22.03, 19.70, 257.57°)
OKLaboklab(32.57% -0.0315 -0.0543)
OKLCHoklch(32.57% 0.063 239.9)
XYZxyz(3.0958, 3.5236, 8.3000)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3851 #51280F
analogous
#0F5149 #0F3851 #0F1751
triadic
#0F3851 #510F38 #38510F
tetradic
#0F3851 #490F51 #51280F #17510F
square
#0F3851 #490F51 #51280F #17510F
split-complementary
#0F3851 #510F17 #51490F
monochromatic
#05121A #05141D #0F3851 #195C85 #227FB8

Accessibility & contrast

On white

12.32
#0F3851 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#0F3851 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3851
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3851#FFFFFF#000000##FFFFFF
##0F38511.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3852
Deuteranopia (green-blind)
#233251
Tritanopia (blue-blind)
#003E41
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0f3851;
/* rgb */ color: rgb(15, 56, 81);
/* oklch */ color: oklch(32.6% 0.063 239.9);
Tailwind
colors: {
  custom: {
    50: '#586e82',
    500: '#0f3851',
    950: '#000000',
  },
}
SCSS
$custom: #0f3851;
$custom-light: #586e82;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3851",
  "rgb": {
    "r": 15,
    "g": 56,
    "b": 81
  },
  "hsl": {
    "h": 202.727,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.32573,
    "c": 0.06281,
    "h": 239.9
  },
  "luminance": 0.03524
}

Semantic roles & 50–950 ramp

primary
#0F3851
secondary
#8B5331
accent
#7F3CEC
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04070A
muted
#797A7C

Preview Lab

Preview with #0F3851

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

Preview Lab → · Contrast checker → · Palette generator →

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