#0F1B41#0F1B41

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

Color values

HEX#0F1B41
RGBrgb(15, 27, 65)
HSLhsl(226, 63%, 16%)
HSVhsv(226, 77%, 25%)
CMYKcmyk(76.9%, 58.5%, 0%, 74.5%)
CIE-LABlab(11.04, 10.04, -25.77)
CIE-LCHlch(11.04, 27.65, 291.28°)
OKLaboklab(23.68% -0.0035 -0.074)
OKLCHoklch(23.68% 0.074 267.3)
XYZxyz(1.5427, 1.2669, 5.1632)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1B41 #41350F
analogous
#0F3441 #0F1B41 #1C0F41
triadic
#0F1B41 #410F1B #1B410F
tetradic
#0F1B41 #410F34 #41350F #0F411C
square
#0F1B41 #410F34 #41350F #0F411C
split-complementary
#0F1B41 #411C0F #34410F
monochromatic
#060A19 #060A19 #0F1B41 #1A3073 #2644A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F1B41#FFFFFF#000000##FFFFFF
##0F1B411.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)
#052042
Deuteranopia (green-blind)
#001B40
Tritanopia (blue-blind)
#00242B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0f1b41;
/* rgb */ color: rgb(15, 27, 65);
/* oklch */ color: oklch(23.7% 0.074 267.3);
Tailwind
colors: {
  custom: {
    50: '#555676',
    500: '#0f1b41',
    950: '#000000',
  },
}
SCSS
$custom: #0f1b41;
$custom-light: #555676;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1b41",
  "rgb": {
    "r": 15,
    "g": 27,
    "b": 65
  },
  "hsl": {
    "h": 225.6,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23678,
    "c": 0.07407,
    "h": 267.3
  },
  "luminance": 0.01267
}

Semantic roles & 50–950 ramp

primary
#0F1B41
secondary
#7B6930
accent
#BE42E6
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #0F1B41

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

Preview Lab → · Contrast checker → · Palette generator →

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