#0F1A4E#0F1A4E

#0F1A4E is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.7% C 0.097 H 268.9°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#0F1A4E
RGBrgb(15, 26, 78)
HSLhsl(230, 68%, 18%)
HSVhsv(230, 81%, 31%)
CMYKcmyk(80.8%, 66.7%, 0%, 69.4%)
CIE-LABlab(11.89, 16.44, -33.43)
CIE-LCHlch(11.89, 37.25, 296.20°)
OKLaboklab(24.68% -0.0018 -0.0965)
OKLCHoklch(24.68% 0.097 268.9)
XYZxyz(1.9411, 1.3902, 7.3723)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1A4E #4E430F
analogous
#0F394E #0F1A4E #230F4E
triadic
#0F1A4E #4E0F1A #1A4E0F
tetradic
#0F1A4E #4E0F39 #4E430F #0F4E23
square
#0F1A4E #4E0F39 #4E430F #0F4E23
split-complementary
#0F1A4E #4E230F #394E0F
monochromatic
#05091A #05091B #0F1A4E #192B81 #233CB5

Accessibility & contrast

On white

16.43
#0F1A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#0F1A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1A4E
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1A4E#FFFFFF#000000##FFFFFF
##0F1A4E1.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002250
Deuteranopia (green-blind)
#001C4D
Tritanopia (blue-blind)
#002731
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0f1a4e;
/* rgb */ color: rgb(15, 26, 78);
/* oklch */ color: oklch(24.7% 0.097 268.9);
Tailwind
colors: {
  custom: {
    50: '#585680',
    500: '#0f1a4e',
    950: '#000000',
  },
}
SCSS
$custom: #0f1a4e;
$custom-light: #585680;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1a4e",
  "rgb": {
    "r": 15,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 229.524,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24681,
    "c": 0.09655,
    "h": 268.9
  },
  "luminance": 0.0139
}

Semantic roles & 50–950 ramp

primary
#0F1A4E
secondary
#887931
accent
#CC3DEB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #0F1A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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