#0F2F56#0F2F56

#0F2F56 is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.5% C 0.080 H 255.3°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#0F2F56
RGBrgb(15, 47, 86)
HSLhsl(213, 70%, 20%)
HSVhsv(213, 83%, 34%)
CMYKcmyk(82.6%, 45.3%, 0%, 66.3%)
CIE-LABlab(19.25, 4.17, -26.96)
CIE-LCHlch(19.25, 27.28, 278.79°)
OKLaboklab(30.49% -0.0203 -0.0771)
OKLCHoklch(30.49% 0.08 255.3)
XYZxyz(2.8926, 2.8061, 9.1915)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F56 #56360F
analogous
#0F5356 #0F2F56 #130F56
triadic
#0F2F56 #560F2F #2F560F
tetradic
#0F2F56 #560F53 #56360F #0F5613
square
#0F2F56 #560F53 #56360F #0F5613
split-complementary
#0F2F56 #56130F #53560F
monochromatic
#050E1A #061322 #0F2F56 #184B8A #2168BE

Accessibility & contrast

On white

13.45
#0F2F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#0F2F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2F56
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F56#FFFFFF#000000##FFFFFF
##0F2F561.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3258
Deuteranopia (green-blind)
#102C55
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f2f56;
/* rgb */ color: rgb(15, 47, 86);
/* oklch */ color: oklch(30.5% 0.080 255.3);
Tailwind
colors: {
  custom: {
    50: '#596786',
    500: '#0f2f56',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f56;
$custom-light: #596786;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f56",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 86
  },
  "hsl": {
    "h": 212.958,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30489,
    "c": 0.07971,
    "h": 255.3
  },
  "luminance": 0.02806
}

Semantic roles & 50–950 ramp

primary
#0F2F56
secondary
#906531
accent
#9D3BED
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0F2F56

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

Preview Lab → · Contrast checker → · Palette generator →

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