#0F1A4A#0F1A4A

#0F1A4A is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.3% C 0.090 H 268.8°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#0F1A4A
RGBrgb(15, 26, 74)
HSLhsl(229, 66%, 17%)
HSVhsv(229, 80%, 29%)
CMYKcmyk(79.7%, 64.9%, 0%, 71%)
CIE-LABlab(11.52, 14.72, -31.28)
CIE-LCHlch(11.52, 34.57, 295.20°)
OKLaboklab(24.28% -0.0019 -0.0902)
OKLCHoklch(24.28% 0.09 268.8)
XYZxyz(1.8020, 1.3346, 6.6399)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1A4A #4A3F0F
analogous
#0F374A #0F1A4A #220F4A
triadic
#0F1A4A #4A0F1A #1A4A0F
tetradic
#0F1A4A #4A0F37 #4A3F0F #0F4A22
square
#0F1A4A #4A0F37 #4A3F0F #0F4A22
split-complementary
#0F1A4A #4A220F #374A0F
monochromatic
#050919 #050919 #0F1A4A #192C7D #243EB0

Accessibility & contrast

On white

16.57
#0F1A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#0F1A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1A4A
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1A4A#FFFFFF#000000##FFFFFF
##0F1A4A1.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#001C49
Tritanopia (blue-blind)
#00262F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0f1a4a;
/* rgb */ color: rgb(15, 26, 74);
/* oklch */ color: oklch(24.3% 0.090 268.8);
Tailwind
colors: {
  custom: {
    50: '#57567d',
    500: '#0f1a4a',
    950: '#000000',
  },
}
SCSS
$custom: #0f1a4a;
$custom-light: #57567d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1a4a",
  "rgb": {
    "r": 15,
    "g": 26,
    "b": 74
  },
  "hsl": {
    "h": 228.814,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24283,
    "c": 0.09025,
    "h": 268.8
  },
  "luminance": 0.01335
}

Semantic roles & 50–950 ramp

primary
#0F1A4A
secondary
#847530
accent
#C93FE9
background
#F5F5F7
surface
#E9E8EE
border
#C5C4C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0F1A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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