#0F2276#0F2276

#0F2276 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.5% C 0.144 H 266.6°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#0F2276
RGBrgb(15, 34, 118)
HSLhsl(229, 77%, 26%)
HSVhsv(229, 87%, 46%)
CMYKcmyk(87.3%, 71.2%, 0%, 53.7%)
CIE-LABlab(18.16, 27.24, -49.67)
CIE-LCHlch(18.16, 56.65, 298.74°)
OKLaboklab(30.53% -0.0084 -0.144)
OKLCHoklch(30.53% 0.144 266.6)
XYZxyz(4.0379, 2.5531, 17.4160)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2276 #76630F
analogous
#0F5576 #0F2276 #2F0F76
triadic
#0F2276 #760F22 #22760F
tetradic
#0F2276 #760F55 #76630F #0F762F
square
#0F2276 #760F55 #76630F #0F762F
split-complementary
#0F2276 #762F0F #55760F
monochromatic
#03081B #081240 #0F2276 #1632AC #1D41E2

Accessibility & contrast

On white

13.90
#0F2276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#0F2276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2276
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2276#FFFFFF#000000##FFFFFF
##0F22761.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002774
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0f2276;
/* rgb */ color: rgb(15, 34, 118);
/* oklch */ color: oklch(30.5% 0.144 266.6);
Tailwind
colors: {
  custom: {
    50: '#645d9e',
    500: '#0f2276',
    950: '#000000',
  },
}
SCSS
$custom: #0f2276;
$custom-light: #645d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2276",
  "rgb": {
    "r": 15,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 228.932,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30526,
    "c": 0.14422,
    "h": 266.6
  },
  "luminance": 0.02554
}

Semantic roles & 50–950 ramp

primary
#0F2276
secondary
#AD9733
accent
#D134F4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #0F2276

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

Preview Lab → · Contrast checker → · Palette generator →

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