#0F2976#0F2976

#0F2976 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.135 H 265.0°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#0F2976
RGBrgb(15, 41, 118)
HSLhsl(225, 77%, 26%)
HSVhsv(225, 87%, 46%)
CMYKcmyk(87.3%, 65.3%, 0%, 53.7%)
CIE-LABlab(20.02, 22.32, -46.61)
CIE-LCHlch(20.02, 51.68, 295.59°)
OKLaboklab(31.9% -0.0119 -0.135)
OKLCHoklch(31.9% 0.135 265)
XYZxyz(4.2588, 2.9949, 17.4896)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2976 #765C0F
analogous
#0F5C76 #0F2976 #280F76
triadic
#0F2976 #760F29 #29760F
tetradic
#0F2976 #760F5C #765C0F #0F7628
square
#0F2976 #760F5C #765C0F #0F7628
split-complementary
#0F2976 #76280F #5C760F
monochromatic
#03091B #081640 #0F2976 #163CAC #1D4FE2

Accessibility & contrast

On white

13.13
#0F2976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#0F2976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2976
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2976#FFFFFF#000000##FFFFFF
##0F29761.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003578
Deuteranopia (green-blind)
#002C75
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f2976;
/* rgb */ color: rgb(15, 41, 118);
/* oklch */ color: oklch(31.9% 0.135 265.0);
Tailwind
colors: {
  custom: {
    50: '#63629e',
    500: '#0f2976',
    950: '#000000',
  },
}
SCSS
$custom: #0f2976;
$custom-light: #63629e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2976",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 118
  },
  "hsl": {
    "h": 224.854,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31898,
    "c": 0.13548,
    "h": 265
  },
  "luminance": 0.02995
}

Semantic roles & 50–950 ramp

primary
#0F2976
secondary
#AD8F33
accent
#C334F4
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #0F2976

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

Preview Lab → · Contrast checker → · Palette generator →

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