#0F3076#0F3076

#0F3076 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.4% C 0.126 H 262.6°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#0F3076
RGBrgb(15, 48, 118)
HSLhsl(221, 77%, 26%)
HSVhsv(221, 87%, 46%)
CMYKcmyk(87.3%, 59.3%, 0%, 53.7%)
CIE-LABlab(22.03, 17.28, -43.34)
CIE-LCHlch(22.03, 46.65, 291.74°)
OKLaboklab(33.4% -0.0162 -0.1252)
OKLCHoklch(33.4% 0.126 262.6)
XYZxyz(4.5228, 3.5229, 17.5776)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3076 #76550F
analogous
#0F6376 #0F3076 #210F76
triadic
#0F3076 #760F30 #30760F
tetradic
#0F3076 #760F63 #76550F #0F7621
square
#0F3076 #760F63 #76550F #0F7621
split-complementary
#0F3076 #76210F #63760F
monochromatic
#030B1B #081A40 #0F3076 #1646AC #1D5CE2

Accessibility & contrast

On white

12.32
#0F3076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#0F3076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3076
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3076#FFFFFF#000000##FFFFFF
##0F30761.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0f3076;
/* rgb */ color: rgb(15, 48, 118);
/* oklch */ color: oklch(33.4% 0.126 262.6);
Tailwind
colors: {
  custom: {
    50: '#62679e',
    500: '#0f3076',
    950: '#000000',
  },
}
SCSS
$custom: #0f3076;
$custom-light: #62679e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3076",
  "rgb": {
    "r": 15,
    "g": 48,
    "b": 118
  },
  "hsl": {
    "h": 220.777,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33396,
    "c": 0.12628,
    "h": 262.6
  },
  "luminance": 0.03523
}

Semantic roles & 50–950 ramp

primary
#0F3076
secondary
#AD8633
accent
#B634F4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #0F3076

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

Preview Lab → · Contrast checker → · Palette generator →

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