#0F1A45#0F1A45

#0F1A45 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.8% C 0.082 H 268.6°. Best body text is #FFFFFF at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#0F1A45
RGBrgb(15, 26, 69)
HSLhsl(228, 64%, 16%)
HSVhsv(228, 78%, 27%)
CMYKcmyk(78.3%, 62.3%, 0%, 72.9%)
CIE-LABlab(11.06, 12.56, -28.54)
CIE-LCHlch(11.06, 31.18, 293.75°)
OKLaboklab(23.8% -0.0021 -0.0822)
OKLCHoklch(23.8% 0.082 268.6)
XYZxyz(1.6402, 1.2699, 5.7877)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1A45 #453A0F
analogous
#0F3545 #0F1A45 #1F0F45
triadic
#0F1A45 #450F1A #1A450F
tetradic
#0F1A45 #450F35 #453A0F #0F451F
square
#0F1A45 #450F35 #453A0F #0F451F
split-complementary
#0F1A45 #451F0F #35450F
monochromatic
#050919 #050919 #0F1A45 #1A2D77 #2540AA

Accessibility & contrast

On white

16.75
#0F1A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0F1A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1A45
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1A45#FFFFFF#000000##FFFFFF
##0F1A451.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002046
Deuteranopia (green-blind)
#001B44
Tritanopia (blue-blind)
#00242C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0f1a45;
/* rgb */ color: rgb(15, 26, 69);
/* oklch */ color: oklch(23.8% 0.082 268.6);
Tailwind
colors: {
  custom: {
    50: '#565679',
    500: '#0f1a45',
    950: '#000000',
  },
}
SCSS
$custom: #0f1a45;
$custom-light: #565679;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1a45",
  "rgb": {
    "r": 15,
    "g": 26,
    "b": 69
  },
  "hsl": {
    "h": 227.778,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23802,
    "c": 0.0822,
    "h": 268.6
  },
  "luminance": 0.0127
}

Semantic roles & 50–950 ramp

primary
#0F1A45
secondary
#7F6F30
accent
#C541E7
background
#F5F5F7
surface
#E9E8ED
border
#C5C4C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0F1A45

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

Preview Lab → · Contrast checker → · Palette generator →

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