#0F1D6A#0F1D6A

#0F1D6A is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.134 H 267.8°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#0F1D6A
RGBrgb(15, 29, 106)
HSLhsl(231, 75%, 24%)
HSVhsv(231, 86%, 42%)
CMYKcmyk(85.8%, 72.6%, 0%, 58.4%)
CIE-LABlab(15.59, 25.89, -46.12)
CIE-LCHlch(15.59, 52.89, 299.31°)
OKLaboklab(28.28% -0.0052 -0.1336)
OKLCHoklch(28.28% 0.134 267.8)
XYZxyz(3.2370, 2.0205, 13.8523)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1D6A #6A5C0F
analogous
#0F4A6A #0F1D6A #2E0F6A
triadic
#0F1D6A #6A0F1D #1D6A0F
tetradic
#0F1D6A #6A0F4A #6A5C0F #0F6A2E
square
#0F1D6A #6A0F4A #6A5C0F #0F6A2E
split-complementary
#0F1D6A #6A2E0F #4A6A0F
monochromatic
#04071B #070E34 #0F1D6A #172CA0 #1E3AD5

Accessibility & contrast

On white

14.96
#0F1D6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0F1D6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1D6A
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1D6A#FFFFFF#000000##FFFFFF
##0F1D6A1.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6C
Deuteranopia (green-blind)
#002369
Tritanopia (blue-blind)
#003241
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f1d6a;
/* rgb */ color: rgb(15, 29, 106);
/* oklch */ color: oklch(28.3% 0.134 267.8);
Tailwind
colors: {
  custom: {
    50: '#615996',
    500: '#0f1d6a',
    950: '#000000',
  },
}
SCSS
$custom: #0f1d6a;
$custom-light: #615996;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1d6a",
  "rgb": {
    "r": 15,
    "g": 29,
    "b": 106
  },
  "hsl": {
    "h": 230.769,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28275,
    "c": 0.13371,
    "h": 267.8
  },
  "luminance": 0.02021
}

Semantic roles & 50–950 ramp

primary
#0F1D6A
secondary
#A29132
accent
#D536F2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #0F1D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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