#0F2C56#0F2C56

#0F2C56 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.7% C 0.084 H 258.1°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#0F2C56
RGBrgb(15, 44, 86)
HSLhsl(215, 70%, 20%)
HSVhsv(215, 83%, 34%)
CMYKcmyk(82.6%, 48.8%, 0%, 66.3%)
CIE-LABlab(18.25, 6.36, -28.56)
CIE-LCHlch(18.25, 29.25, 282.55°)
OKLaboklab(29.72% -0.0173 -0.0819)
OKLCHoklch(29.72% 0.084 258.1)
XYZxyz(2.7768, 2.5745, 9.1529)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C56 #56390F
analogous
#0F5056 #0F2C56 #160F56
triadic
#0F2C56 #560F2C #2C560F
tetradic
#0F2C56 #560F50 #56390F #0F5616
square
#0F2C56 #560F50 #56390F #0F5616
split-complementary
#0F2C56 #56160F #50560F
monochromatic
#050D1A #061122 #0F2C56 #18478A #2161BE

Accessibility & contrast

On white

13.86
#0F2C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0F2C56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2C56
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C56#FFFFFF#000000##FFFFFF
##0F2C561.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163058
Deuteranopia (green-blind)
#072A55
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2c56;
/* rgb */ color: rgb(15, 44, 86);
/* oklch */ color: oklch(29.7% 0.084 258.1);
Tailwind
colors: {
  custom: {
    50: '#596486',
    500: '#0f2c56',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c56;
$custom-light: #596486;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c56",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 86
  },
  "hsl": {
    "h": 215.493,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29715,
    "c": 0.08367,
    "h": 258.1
  },
  "luminance": 0.02575
}

Semantic roles & 50–950 ramp

primary
#0F2C56
secondary
#906931
accent
#A43BED
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0F2C56

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

Preview Lab → · Contrast checker → · Palette generator →

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