#0F1A6A#0F1A6A

#0F1A6A is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.7% C 0.137 H 268.4°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#0F1A6A
RGBrgb(15, 26, 106)
HSLhsl(233, 75%, 24%)
HSVhsv(233, 86%, 42%)
CMYKcmyk(85.8%, 75.5%, 0%, 58.4%)
CIE-LABlab(14.85, 27.93, -47.35)
CIE-LCHlch(14.85, 54.97, 300.54°)
OKLaboklab(27.74% -0.0039 -0.1372)
OKLCHoklch(27.74% 0.137 268.4)
XYZxyz(3.1670, 1.8806, 13.8289)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1A6A #6A5F0F
analogous
#0F476A #0F1A6A #310F6A
triadic
#0F1A6A #6A0F1A #1A6A0F
tetradic
#0F1A6A #6A0F47 #6A5F0F #0F6A31
square
#0F1A6A #6A0F47 #6A5F0F #0F6A31
split-complementary
#0F1A6A #6A310F #476A0F
monochromatic
#04071B #070D34 #0F1A6A #1727A0 #1E34D5

Accessibility & contrast

On white

15.26
#0F1A6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#0F1A6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1A6A
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1A6A#FFFFFF#000000##FFFFFF
##0F1A6A1.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002169
Tritanopia (blue-blind)
#003140
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0f1a6a;
/* rgb */ color: rgb(15, 26, 106);
/* oklch */ color: oklch(27.7% 0.137 268.4);
Tailwind
colors: {
  custom: {
    50: '#615796',
    500: '#0f1a6a',
    950: '#000000',
  },
}
SCSS
$custom: #0f1a6a;
$custom-light: #615796;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1a6a",
  "rgb": {
    "r": 15,
    "g": 26,
    "b": 106
  },
  "hsl": {
    "h": 232.747,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27735,
    "c": 0.13726,
    "h": 268.4
  },
  "luminance": 0.01881
}

Semantic roles & 50–950 ramp

primary
#0F1A6A
secondary
#A29532
accent
#DB36F2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #0F1A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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