#0F2076#0F2076

#0F2076 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.147 H 267.0°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#0F2076
RGBrgb(15, 32, 118)
HSLhsl(230, 77%, 26%)
HSVhsv(230, 87%, 46%)
CMYKcmyk(87.3%, 72.9%, 0%, 53.7%)
CIE-LABlab(17.65, 28.60, -50.50)
CIE-LCHlch(17.65, 58.04, 299.52°)
OKLaboklab(30.16% -0.0076 -0.1464)
OKLCHoklch(30.16% 0.147 267)
XYZxyz(3.9824, 2.4421, 17.3975)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2076 #76650F
analogous
#0F5376 #0F2076 #310F76
triadic
#0F2076 #760F20 #20760F
tetradic
#0F2076 #760F53 #76650F #0F7631
square
#0F2076 #760F53 #76650F #0F7631
split-complementary
#0F2076 #76310F #53760F
monochromatic
#03071B #081140 #0F2076 #162FAC #1D3EE2

Accessibility & contrast

On white

14.11
#0F2076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0F2076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2076
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2076#FFFFFF#000000##FFFFFF
##0F20761.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003079
Deuteranopia (green-blind)
#002674
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0f2076;
/* rgb */ color: rgb(15, 32, 118);
/* oklch */ color: oklch(30.2% 0.147 267.0);
Tailwind
colors: {
  custom: {
    50: '#645b9e',
    500: '#0f2076',
    950: '#000000',
  },
}
SCSS
$custom: #0f2076;
$custom-light: #645b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2076",
  "rgb": {
    "r": 15,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 230.097,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30161,
    "c": 0.14659,
    "h": 267
  },
  "luminance": 0.02443
}

Semantic roles & 50–950 ramp

primary
#0F2076
secondary
#AD9933
accent
#D434F4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #0F2076

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

Preview Lab → · Contrast checker → · Palette generator →

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