#0F2942#0F2942

#0F2942 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.5% C 0.056 H 249.8°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#0F2942
RGBrgb(15, 41, 66)
HSLhsl(209, 63%, 16%)
HSVhsv(209, 77%, 26%)
CMYKcmyk(77.3%, 37.9%, 0%, 74.1%)
CIE-LABlab(15.90, -0.11, -18.70)
CIE-LCHlch(15.90, 18.70, 269.67°)
OKLaboklab(27.46% -0.0195 -0.053)
OKLCHoklch(27.46% 0.056 249.8)
XYZxyz(1.9729, 2.0806, 5.4508)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2942 #42280F
analogous
#0F4241 #0F2942 #0F0F42
triadic
#0F2942 #420F29 #29420F
tetradic
#0F2942 #410F42 #42280F #0F420F
square
#0F2942 #410F42 #42280F #0F420F
split-complementary
#0F2942 #420F0F #42410F
monochromatic
#060F19 #060F19 #0F2942 #1A4874 #2667A6

Accessibility & contrast

On white

14.83
#0F2942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0F2942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2942
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2942#FFFFFF#000000##FFFFFF
##0F29421.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2A43
Deuteranopia (green-blind)
#172542
Tritanopia (blue-blind)
#002F32
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f2942;
/* rgb */ color: rgb(15, 41, 66);
/* oklch */ color: oklch(27.5% 0.056 249.8);
Tailwind
colors: {
  custom: {
    50: '#546276',
    500: '#0f2942',
    950: '#000000',
  },
}
SCSS
$custom: #0f2942;
$custom-light: #546276;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2942",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 66
  },
  "hsl": {
    "h": 209.412,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27458,
    "c": 0.05648,
    "h": 249.8
  },
  "luminance": 0.02081
}

Semantic roles & 50–950 ramp

primary
#0F2942
secondary
#7C5630
accent
#9242E6
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #0F2942

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

Preview Lab → · Contrast checker → · Palette generator →

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