#0F2F42#0F2F42

#0F2F42 is a dark, muted cyan. Relative luminance 0.025; OKLCH L 29.1% C 0.051 H 238.2°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#0F2F42
RGBrgb(15, 47, 66)
HSLhsl(202, 63%, 16%)
HSVhsv(202, 77%, 26%)
CMYKcmyk(77.3%, 28.8%, 0%, 74.1%)
CIE-LABlab(18.04, -4.32, -15.35)
CIE-LCHlch(18.04, 15.95, 254.28°)
OKLaboklab(29.15% -0.0268 -0.0432)
OKLCHoklch(29.15% 0.051 238.2)
XYZxyz(2.1965, 2.5277, 5.5253)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F42 #42220F
analogous
#0F423B #0F2F42 #0F1542
triadic
#0F2F42 #420F2F #2F420F
tetradic
#0F2F42 #3B0F42 #42220F #15420F
square
#0F2F42 #3B0F42 #42220F #15420F
split-complementary
#0F2F42 #420F15 #423B0F
monochromatic
#061219 #061219 #0F2F42 #1A5374 #2676A6

Accessibility & contrast

On white

13.95
#0F2F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#0F2F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2F42
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F42#FFFFFF#000000##FFFFFF
##0F2F421.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262F43
Deuteranopia (green-blind)
#1F2A42
Tritanopia (blue-blind)
#003435
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0f2f42;
/* rgb */ color: rgb(15, 47, 66);
/* oklch */ color: oklch(29.1% 0.051 238.2);
Tailwind
colors: {
  custom: {
    50: '#556776',
    500: '#0f2f42',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f42;
$custom-light: #556776;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f42",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 66
  },
  "hsl": {
    "h": 202.353,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.29147,
    "c": 0.05084,
    "h": 238.2
  },
  "luminance": 0.02528
}

Semantic roles & 50–950 ramp

primary
#0F2F42
secondary
#7C4D30
accent
#7F42E6
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #0F2F42

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

Preview Lab → · Contrast checker → · Palette generator →

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