#0F2D42#0F2D42

#0F2D42 is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.6% C 0.052 H 242.4°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#0F2D42
RGBrgb(15, 45, 66)
HSLhsl(205, 63%, 16%)
HSVhsv(205, 77%, 26%)
CMYKcmyk(77.3%, 31.8%, 0%, 74.1%)
CIE-LABlab(17.33, -2.94, -16.47)
CIE-LCHlch(17.33, 16.73, 259.87°)
OKLaboklab(28.58% -0.0243 -0.0465)
OKLCHoklch(28.58% 0.052 242.4)
XYZxyz(2.1184, 2.3715, 5.4993)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2D42 #42240F
analogous
#0F423D #0F2D42 #0F1342
triadic
#0F2D42 #420F2D #2D420F
tetradic
#0F2D42 #3D0F42 #42240F #13420F
square
#0F2D42 #3D0F42 #42240F #13420F
split-complementary
#0F2D42 #420F13 #423D0F
monochromatic
#061119 #061119 #0F2D42 #1A4F74 #2671A6

Accessibility & contrast

On white

14.24
#0F2D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0F2D42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2D42
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2D42#FFFFFF#000000##FFFFFF
##0F2D421.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232D43
Deuteranopia (green-blind)
#1C2842
Tritanopia (blue-blind)
#003234
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0f2d42;
/* rgb */ color: rgb(15, 45, 66);
/* oklch */ color: oklch(28.6% 0.052 242.4);
Tailwind
colors: {
  custom: {
    50: '#556576',
    500: '#0f2d42',
    950: '#000000',
  },
}
SCSS
$custom: #0f2d42;
$custom-light: #556576;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2d42",
  "rgb": {
    "r": 15,
    "g": 45,
    "b": 66
  },
  "hsl": {
    "h": 204.706,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.28579,
    "c": 0.05245,
    "h": 242.4
  },
  "luminance": 0.02372
}

Semantic roles & 50–950 ramp

primary
#0F2D42
secondary
#7C5030
accent
#8542E6
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030508
muted
#787A7B

Preview Lab

Preview with #0F2D42

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

Preview Lab → · Contrast checker → · Palette generator →

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