#0F2476#0F2476

#0F2476 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.9% C 0.142 H 266.2°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#0F2476
RGBrgb(15, 36, 118)
HSLhsl(228, 77%, 26%)
HSVhsv(228, 87%, 46%)
CMYKcmyk(87.3%, 69.5%, 0%, 53.7%)
CIE-LABlab(18.67, 25.85, -48.82)
CIE-LCHlch(18.67, 55.24, 297.90°)
OKLaboklab(30.9% -0.0093 -0.1415)
OKLCHoklch(30.9% 0.142 266.2)
XYZxyz(4.0967, 2.6708, 17.4356)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2476 #76610F
analogous
#0F5776 #0F2476 #2D0F76
triadic
#0F2476 #760F24 #24760F
tetradic
#0F2476 #760F57 #76610F #0F762D
square
#0F2476 #760F57 #76610F #0F762D
split-complementary
#0F2476 #762D0F #57760F
monochromatic
#03081B #081340 #0F2476 #1635AC #1D45E2

Accessibility & contrast

On white

13.69
#0F2476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#0F2476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2476
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2476#FFFFFF#000000##FFFFFF
##0F24761.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002974
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0f2476;
/* rgb */ color: rgb(15, 36, 118);
/* oklch */ color: oklch(30.9% 0.142 266.2);
Tailwind
colors: {
  custom: {
    50: '#635e9e',
    500: '#0f2476',
    950: '#000000',
  },
}
SCSS
$custom: #0f2476;
$custom-light: #635e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2476",
  "rgb": {
    "r": 15,
    "g": 36,
    "b": 118
  },
  "hsl": {
    "h": 227.767,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30903,
    "c": 0.14179,
    "h": 266.2
  },
  "luminance": 0.02671
}

Semantic roles & 50–950 ramp

primary
#0F2476
secondary
#AD9433
accent
#CD34F4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #0F2476

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

Preview Lab → · Contrast checker → · Palette generator →

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