#0F2A42#0F2A42

#0F2A42 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 27.7% C 0.055 H 248.1°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#0F2A42
RGBrgb(15, 42, 66)
HSLhsl(208, 63%, 16%)
HSVhsv(208, 77%, 26%)
CMYKcmyk(77.3%, 36.4%, 0%, 74.1%)
CIE-LABlab(16.26, -0.82, -18.15)
CIE-LCHlch(16.26, 18.16, 267.40°)
OKLaboklab(27.74% -0.0207 -0.0514)
OKLCHoklch(27.74% 0.055 248.1)
XYZxyz(2.0080, 2.1506, 5.4625)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A42 #42270F
analogous
#0F4240 #0F2A42 #0F1042
triadic
#0F2A42 #420F2A #2A420F
tetradic
#0F2A42 #400F42 #42270F #10420F
square
#0F2A42 #400F42 #42270F #10420F
split-complementary
#0F2A42 #420F10 #42400F
monochromatic
#061019 #061019 #0F2A42 #1A4A74 #2669A6

Accessibility & contrast

On white

14.68
#0F2A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0F2A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2A42
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A42#FFFFFF#000000##FFFFFF
##0F2A421.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2B43
Deuteranopia (green-blind)
#182642
Tritanopia (blue-blind)
#003033
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f2a42;
/* rgb */ color: rgb(15, 42, 66);
/* oklch */ color: oklch(27.7% 0.055 248.1);
Tailwind
colors: {
  custom: {
    50: '#556376',
    500: '#0f2a42',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a42;
$custom-light: #556376;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a42",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 208.235,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27736,
    "c": 0.05539,
    "h": 248.1
  },
  "luminance": 0.02151
}

Semantic roles & 50–950 ramp

primary
#0F2A42
secondary
#7C5430
accent
#8F42E6
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #0F2A42

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

Preview Lab → · Contrast checker → · Palette generator →

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