#0F2842#0F2842

#0F2842 is a dark, muted cyan. Relative luminance 0.020; OKLCH L 27.2% C 0.058 H 251.5°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#0F2842
RGBrgb(15, 40, 66)
HSLhsl(211, 63%, 16%)
HSVhsv(211, 77%, 26%)
CMYKcmyk(77.3%, 39.4%, 0%, 74.1%)
CIE-LABlab(15.55, 0.62, -19.26)
CIE-LCHlch(15.55, 19.27, 271.84°)
OKLaboklab(27.18% -0.0183 -0.0547)
OKLCHoklch(27.18% 0.058 251.5)
XYZxyz(1.9388, 2.0123, 5.4394)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2842 #42290F
analogous
#0F4142 #0F2842 #0F0F42
triadic
#0F2842 #420F28 #28420F
tetradic
#0F2842 #420F41 #42290F #0F420F
square
#0F2842 #420F41 #42290F #0F420F
split-complementary
#0F2842 #420F0F #41420F
monochromatic
#060F19 #060F19 #0F2842 #1A4674 #2664A6

Accessibility & contrast

On white

14.97
#0F2842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0F2842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2842
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2842#FFFFFF#000000##FFFFFF
##0F28421.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2943
Deuteranopia (green-blind)
#152541
Tritanopia (blue-blind)
#002E31
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f2842;
/* rgb */ color: rgb(15, 40, 66);
/* oklch */ color: oklch(27.2% 0.058 251.5);
Tailwind
colors: {
  custom: {
    50: '#546176',
    500: '#0f2842',
    950: '#000000',
  },
}
SCSS
$custom: #0f2842;
$custom-light: #546176;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2842",
  "rgb": {
    "r": 15,
    "g": 40,
    "b": 66
  },
  "hsl": {
    "h": 210.588,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27181,
    "c": 0.05763,
    "h": 251.5
  },
  "luminance": 0.02012
}

Semantic roles & 50–950 ramp

primary
#0F2842
secondary
#7C5730
accent
#9642E6
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030508
muted
#78797B

Preview Lab

Preview with #0F2842

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

Preview Lab → · Contrast checker → · Palette generator →

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