#0F2B76#0F2B76

#0F2B76 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.133 H 264.4°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#0F2B76
RGBrgb(15, 43, 118)
HSLhsl(224, 77%, 26%)
HSVhsv(224, 87%, 46%)
CMYKcmyk(87.3%, 63.6%, 0%, 53.7%)
CIE-LABlab(20.58, 20.88, -45.69)
CIE-LCHlch(20.58, 50.24, 294.56°)
OKLaboklab(32.31% -0.013 -0.1322)
OKLCHoklch(32.31% 0.133 264.4)
XYZxyz(4.3297, 3.1368, 17.5133)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2B76 #765A0F
analogous
#0F5E76 #0F2B76 #260F76
triadic
#0F2B76 #760F2B #2B760F
tetradic
#0F2B76 #760F5E #765A0F #0F7626
square
#0F2B76 #760F5E #765A0F #0F7626
split-complementary
#0F2B76 #76260F #5E760F
monochromatic
#030A1B #081740 #0F2B76 #163FAC #1D53E2

Accessibility & contrast

On white

12.90
#0F2B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#0F2B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2B76
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2B76#FFFFFF#000000##FFFFFF
##0F2B761.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#002D75
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #0f2b76;
/* rgb */ color: rgb(15, 43, 118);
/* oklch */ color: oklch(32.3% 0.133 264.4);
Tailwind
colors: {
  custom: {
    50: '#63639e',
    500: '#0f2b76',
    950: '#000000',
  },
}
SCSS
$custom: #0f2b76;
$custom-light: #63639e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2b76",
  "rgb": {
    "r": 15,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 223.689,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32314,
    "c": 0.13288,
    "h": 264.4
  },
  "luminance": 0.03137
}

Semantic roles & 50–950 ramp

primary
#0F2B76
secondary
#AD8C33
accent
#C034F4
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #0F2B76

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

Preview Lab → · Contrast checker → · Palette generator →

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