#0F2776#0F2776

#0F2776 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.5% C 0.138 H 265.5°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#0F2776
RGBrgb(15, 39, 118)
HSLhsl(226, 77%, 26%)
HSVhsv(226, 87%, 46%)
CMYKcmyk(87.3%, 66.9%, 0%, 53.7%)
CIE-LABlab(19.47, 23.74, -47.51)
CIE-LCHlch(19.47, 53.11, 296.55°)
OKLaboklab(31.49% -0.0108 -0.1376)
OKLCHoklch(31.49% 0.138 265.5)
XYZxyz(4.1914, 2.8601, 17.4672)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2776 #765E0F
analogous
#0F5A76 #0F2776 #2A0F76
triadic
#0F2776 #760F27 #27760F
tetradic
#0F2776 #760F5A #765E0F #0F762A
square
#0F2776 #760F5A #765E0F #0F762A
split-complementary
#0F2776 #762A0F #5A760F
monochromatic
#03091B #081540 #0F2776 #1639AC #1D4BE2

Accessibility & contrast

On white

13.36
#0F2776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#0F2776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2776
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2776#FFFFFF#000000##FFFFFF
##0F27761.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#002A75
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f2776;
/* rgb */ color: rgb(15, 39, 118);
/* oklch */ color: oklch(31.5% 0.138 265.5);
Tailwind
colors: {
  custom: {
    50: '#63609e',
    500: '#0f2776',
    950: '#000000',
  },
}
SCSS
$custom: #0f2776;
$custom-light: #63609e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2776",
  "rgb": {
    "r": 15,
    "g": 39,
    "b": 118
  },
  "hsl": {
    "h": 226.019,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31492,
    "c": 0.13804,
    "h": 265.5
  },
  "luminance": 0.02861
}

Semantic roles & 50–950 ramp

primary
#0F2776
secondary
#AD9133
accent
#C734F4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #0F2776

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

Preview Lab → · Contrast checker → · Palette generator →

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