#0F2576#0F2576

#0F2576 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.141 H 266.0°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#0F2576
RGBrgb(15, 37, 118)
HSLhsl(227, 77%, 26%)
HSVhsv(227, 87%, 46%)
CMYKcmyk(87.3%, 68.6%, 0%, 53.7%)
CIE-LABlab(18.94, 25.15, -48.39)
CIE-LCHlch(18.94, 54.54, 297.46°)
OKLaboklab(31.1% -0.0098 -0.1402)
OKLCHoklch(31.1% 0.141 266)
XYZxyz(4.1274, 2.7322, 17.4459)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2576 #76600F
analogous
#0F5876 #0F2576 #2C0F76
triadic
#0F2576 #760F25 #25760F
tetradic
#0F2576 #760F58 #76600F #0F762C
square
#0F2576 #760F58 #76600F #0F762C
split-complementary
#0F2576 #762C0F #58760F
monochromatic
#03091B #081440 #0F2576 #1636AC #1D47E2

Accessibility & contrast

On white

13.58
#0F2576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#0F2576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2576
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2576#FFFFFF#000000##FFFFFF
##0F25761.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#002975
Tritanopia (blue-blind)
#003B4A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0f2576;
/* rgb */ color: rgb(15, 37, 118);
/* oklch */ color: oklch(31.1% 0.141 266.0);
Tailwind
colors: {
  custom: {
    50: '#635f9e',
    500: '#0f2576',
    950: '#000000',
  },
}
SCSS
$custom: #0f2576;
$custom-light: #635f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2576",
  "rgb": {
    "r": 15,
    "g": 37,
    "b": 118
  },
  "hsl": {
    "h": 227.184,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31096,
    "c": 0.14055,
    "h": 266
  },
  "luminance": 0.02733
}

Semantic roles & 50–950 ramp

primary
#0F2576
secondary
#AD9333
accent
#CB34F4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #0F2576

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

Preview Lab → · Contrast checker → · Palette generator →

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