#0F2876#0F2876

#0F2876 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.7% C 0.137 H 265.2°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#0F2876
RGBrgb(15, 40, 118)
HSLhsl(225, 77%, 26%)
HSVhsv(225, 87%, 46%)
CMYKcmyk(87.3%, 66.1%, 0%, 53.7%)
CIE-LABlab(19.75, 23.03, -47.06)
CIE-LCHlch(19.75, 52.39, 296.08°)
OKLaboklab(31.69% -0.0114 -0.1363)
OKLCHoklch(31.69% 0.137 265.2)
XYZxyz(4.2247, 2.9266, 17.4783)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2876 #765D0F
analogous
#0F5B76 #0F2876 #290F76
triadic
#0F2876 #760F28 #28760F
tetradic
#0F2876 #760F5B #765D0F #0F7629
square
#0F2876 #760F5B #765D0F #0F7629
split-complementary
#0F2876 #76290F #5B760F
monochromatic
#03091B #081640 #0F2876 #163AAC #1D4DE2

Accessibility & contrast

On white

13.25
#0F2876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#0F2876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2876
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2876#FFFFFF#000000##FFFFFF
##0F28761.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f2876;
/* rgb */ color: rgb(15, 40, 118);
/* oklch */ color: oklch(31.7% 0.137 265.2);
Tailwind
colors: {
  custom: {
    50: '#63619e',
    500: '#0f2876',
    950: '#000000',
  },
}
SCSS
$custom: #0f2876;
$custom-light: #63619e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2876",
  "rgb": {
    "r": 15,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 225.437,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31693,
    "c": 0.13676,
    "h": 265.2
  },
  "luminance": 0.02927
}

Semantic roles & 50–950 ramp

primary
#0F2876
secondary
#AD9033
accent
#C534F4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #0F2876

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

Preview Lab → · Contrast checker → · Palette generator →

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