#0F2176#0F2176

#0F2176 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.145 H 266.8°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#0F2176
RGBrgb(15, 33, 118)
HSLhsl(230, 77%, 26%)
HSVhsv(230, 87%, 46%)
CMYKcmyk(87.3%, 72%, 0%, 53.7%)
CIE-LABlab(17.90, 27.92, -50.09)
CIE-LCHlch(17.90, 57.35, 299.13°)
OKLaboklab(30.34% -0.008 -0.1452)
OKLCHoklch(30.34% 0.145 266.8)
XYZxyz(4.0097, 2.4968, 17.4066)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2176 #76640F
analogous
#0F5476 #0F2176 #300F76
triadic
#0F2176 #760F21 #21760F
tetradic
#0F2176 #760F54 #76640F #0F7630
square
#0F2176 #760F54 #76640F #0F7630
split-complementary
#0F2176 #76300F #54760F
monochromatic
#03081B #081240 #0F2176 #1630AC #1D40E2

Accessibility & contrast

On white

14.01
#0F2176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#0F2176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2176
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2176#FFFFFF#000000##FFFFFF
##0F21761.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f2176;
/* rgb */ color: rgb(15, 33, 118);
/* oklch */ color: oklch(30.3% 0.145 266.8);
Tailwind
colors: {
  custom: {
    50: '#645c9e',
    500: '#0f2176',
    950: '#000000',
  },
}
SCSS
$custom: #0f2176;
$custom-light: #645c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2176",
  "rgb": {
    "r": 15,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 229.515,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30342,
    "c": 0.14541,
    "h": 266.8
  },
  "luminance": 0.02497
}

Semantic roles & 50–950 ramp

primary
#0F2176
secondary
#AD9833
accent
#D234F4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #0F2176

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

Preview Lab → · Contrast checker → · Palette generator →

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