#0F2B56#0F2B56

#0F2B56 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.5% C 0.085 H 258.9°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#0F2B56
RGBrgb(15, 43, 86)
HSLhsl(216, 70%, 20%)
HSVhsv(216, 83%, 34%)
CMYKcmyk(82.6%, 50%, 0%, 66.3%)
CIE-LABlab(17.92, 7.09, -29.09)
CIE-LCHlch(17.92, 29.94, 283.70°)
OKLaboklab(29.46% -0.0163 -0.0834)
OKLCHoklch(29.46% 0.085 258.9)
XYZxyz(2.7400, 2.5009, 9.1406)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2B56 #563A0F
analogous
#0F4F56 #0F2B56 #170F56
triadic
#0F2B56 #560F2B #2B560F
tetradic
#0F2B56 #560F4F #563A0F #0F5617
square
#0F2B56 #560F4F #563A0F #0F5617
split-complementary
#0F2B56 #56170F #4F560F
monochromatic
#050D1A #061122 #0F2B56 #18458A #215FBE

Accessibility & contrast

On white

14.00
#0F2B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#0F2B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2B56
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2B56#FFFFFF#000000##FFFFFF
##0F2B561.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142F58
Deuteranopia (green-blind)
#042955
Tritanopia (blue-blind)
#00353C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0f2b56;
/* rgb */ color: rgb(15, 43, 86);
/* oklch */ color: oklch(29.5% 0.085 258.9);
Tailwind
colors: {
  custom: {
    50: '#5a6386',
    500: '#0f2b56',
    950: '#000000',
  },
}
SCSS
$custom: #0f2b56;
$custom-light: #5a6386;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2b56",
  "rgb": {
    "r": 15,
    "g": 43,
    "b": 86
  },
  "hsl": {
    "h": 216.338,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29461,
    "c": 0.08501,
    "h": 258.9
  },
  "luminance": 0.02501
}

Semantic roles & 50–950 ramp

primary
#0F2B56
secondary
#906A31
accent
#A73BED
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #0F2B56

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

Preview Lab → · Contrast checker → · Palette generator →

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