#0F2676#0F2676

#0F2676 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.3% C 0.139 H 265.8°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#0F2676
RGBrgb(15, 38, 118)
HSLhsl(227, 77%, 26%)
HSVhsv(227, 87%, 46%)
CMYKcmyk(87.3%, 67.8%, 0%, 53.7%)
CIE-LABlab(19.20, 24.45, -47.95)
CIE-LCHlch(19.20, 53.82, 297.01°)
OKLaboklab(31.29% -0.0103 -0.1389)
OKLCHoklch(31.29% 0.139 265.8)
XYZxyz(4.1590, 2.7953, 17.4564)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2676 #765F0F
analogous
#0F5976 #0F2676 #2B0F76
triadic
#0F2676 #760F26 #26760F
tetradic
#0F2676 #760F59 #765F0F #0F762B
square
#0F2676 #760F59 #765F0F #0F762B
split-complementary
#0F2676 #762B0F #59760F
monochromatic
#03091B #081540 #0F2676 #1637AC #1D49E2

Accessibility & contrast

On white

13.47
#0F2676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#0F2676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2676
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2676#FFFFFF#000000##FFFFFF
##0F26761.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#002A75
Tritanopia (blue-blind)
#003B4A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f2676;
/* rgb */ color: rgb(15, 38, 118);
/* oklch */ color: oklch(31.3% 0.139 265.8);
Tailwind
colors: {
  custom: {
    50: '#63609e',
    500: '#0f2676',
    950: '#000000',
  },
}
SCSS
$custom: #0f2676;
$custom-light: #63609e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2676",
  "rgb": {
    "r": 15,
    "g": 38,
    "b": 118
  },
  "hsl": {
    "h": 226.602,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31293,
    "c": 0.1393,
    "h": 265.8
  },
  "luminance": 0.02796
}

Semantic roles & 50–950 ramp

primary
#0F2676
secondary
#AD9233
accent
#C934F4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #0F2676

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

Preview Lab → · Contrast checker → · Palette generator →

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