#0F2A76#0F2A76

#0F2A76 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.1% C 0.134 H 264.7°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#0F2A76
RGBrgb(15, 42, 118)
HSLhsl(224, 77%, 26%)
HSVhsv(224, 87%, 46%)
CMYKcmyk(87.3%, 64.4%, 0%, 53.7%)
CIE-LABlab(20.30, 21.60, -46.15)
CIE-LCHlch(20.30, 50.96, 295.08°)
OKLaboklab(32.1% -0.0125 -0.1336)
OKLCHoklch(32.1% 0.134 264.7)
XYZxyz(4.2938, 3.0650, 17.5013)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A76 #765B0F
analogous
#0F5D76 #0F2A76 #270F76
triadic
#0F2A76 #760F2A #2A760F
tetradic
#0F2A76 #760F5D #765B0F #0F7627
square
#0F2A76 #760F5D #765B0F #0F7627
split-complementary
#0F2A76 #76270F #5D760F
monochromatic
#030A1B #081740 #0F2A76 #163DAC #1D51E2

Accessibility & contrast

On white

13.02
#0F2A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#0F2A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2A76
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A76#FFFFFF#000000##FFFFFF
##0F2A761.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#002C75
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0f2a76;
/* rgb */ color: rgb(15, 42, 118);
/* oklch */ color: oklch(32.1% 0.134 264.7);
Tailwind
colors: {
  custom: {
    50: '#63639e',
    500: '#0f2a76',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a76;
$custom-light: #63639e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a76",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 224.272,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32105,
    "c": 0.13419,
    "h": 264.7
  },
  "luminance": 0.03065
}

Semantic roles & 50–950 ramp

primary
#0F2A76
secondary
#AD8D33
accent
#C234F4
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #0F2A76

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

Preview Lab → · Contrast checker → · Palette generator →

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