#0F2156#0F2156

#0F2156 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.0% C 0.099 H 265.8°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#0F2156
RGBrgb(15, 33, 86)
HSLhsl(225, 70%, 20%)
HSVhsv(225, 83%, 34%)
CMYKcmyk(82.6%, 61.6%, 0%, 66.3%)
CIE-LABlab(14.74, 14.60, -34.23)
CIE-LCHlch(14.74, 37.21, 293.09°)
OKLaboklab(27.04% -0.0073 -0.0988)
OKLCHoklch(27.04% 0.099 265.8)
XYZxyz(2.4200, 1.8609, 9.0339)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2156 #56440F
analogous
#0F4456 #0F2156 #210F56
triadic
#0F2156 #560F21 #21560F
tetradic
#0F2156 #560F44 #56440F #0F5621
square
#0F2156 #560F44 #56440F #0F5621
split-complementary
#0F2156 #56210F #44560F
monochromatic
#050A1A #060D22 #0F2156 #18358A #2149BE

Accessibility & contrast

On white

15.30
#0F2156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0F2156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2156
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2156#FFFFFF#000000##FFFFFF
##0F21561.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002958
Deuteranopia (green-blind)
#002255
Tritanopia (blue-blind)
#002E37
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0f2156;
/* rgb */ color: rgb(15, 33, 86);
/* oklch */ color: oklch(27.0% 0.099 265.8);
Tailwind
colors: {
  custom: {
    50: '#5a5b86',
    500: '#0f2156',
    950: '#000000',
  },
}
SCSS
$custom: #0f2156;
$custom-light: #5a5b86;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2156",
  "rgb": {
    "r": 15,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 224.789,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27037,
    "c": 0.09905,
    "h": 265.8
  },
  "luminance": 0.01861
}

Semantic roles & 50–950 ramp

primary
#0F2156
secondary
#907831
accent
#C03BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2156

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

Preview Lab → · Contrast checker → · Palette generator →

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