#0F2837#0F2837

#0F2837 is a dark, muted cyan. Relative luminance 0.019; OKLCH L 26.5% C 0.042 H 237.6°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#0F2837
RGBrgb(15, 40, 55)
HSLhsl(203, 57%, 14%)
HSVhsv(203, 73%, 22%)
CMYKcmyk(72.7%, 27.3%, 0%, 78.4%)
CIE-LABlab(14.93, -3.96, -12.57)
CIE-LCHlch(14.93, 13.18, 252.50°)
OKLaboklab(26.48% -0.0224 -0.0352)
OKLCHoklch(26.48% 0.042 237.6)
XYZxyz(1.6451, 1.8948, 3.8927)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2837 #371E0F
analogous
#0F3732 #0F2837 #0F1437
triadic
#0F2837 #370F28 #28370F
tetradic
#0F2837 #320F37 #371E0F #14370F
square
#0F2837 #320F37 #371E0F #14370F
split-complementary
#0F2837 #370F14 #37320F
monochromatic
#071118 #071118 #0F2837 #1C4B67 #296E97

Accessibility & contrast

On white

15.23
#0F2837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#0F2837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2837
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2837#FFFFFF#000000##FFFFFF
##0F28371.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212838
Deuteranopia (green-blind)
#1C2437
Tritanopia (blue-blind)
#002C2D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0f2837;
/* rgb */ color: rgb(15, 40, 55);
/* oklch */ color: oklch(26.5% 0.042 237.6);
Tailwind
colors: {
  custom: {
    50: '#52616d',
    500: '#0f2837',
    950: '#000000',
  },
}
SCSS
$custom: #0f2837;
$custom-light: #52616d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2837",
  "rgb": {
    "r": 15,
    "g": 40,
    "b": 55
  },
  "hsl": {
    "h": 202.5,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.26482,
    "c": 0.04176,
    "h": 237.6
  },
  "luminance": 0.01895
}

Semantic roles & 50–950 ramp

primary
#0F2837
secondary
#714931
accent
#8147E0
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020507
muted
#78797A

Preview Lab

Preview with #0F2837

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

Preview Lab → · Contrast checker → · Palette generator →

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