#0F1756#0F1756

#0F1756 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.9% C 0.113 H 269.9°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#0F1756
RGBrgb(15, 23, 86)
HSLhsl(233, 70%, 20%)
HSVhsv(233, 83%, 34%)
CMYKcmyk(82.6%, 73.3%, 0%, 66.3%)
CIE-LABlab(11.86, 22.01, -38.93)
CIE-LCHlch(11.86, 44.73, 299.48°)
OKLaboklab(24.91% -0.0001 -0.1127)
OKLCHoklch(24.91% 0.113 269.9)
XYZxyz(2.1825, 1.3860, 8.9548)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1756 #564E0F
analogous
#0F3B56 #0F1756 #2A0F56
triadic
#0F1756 #560F17 #17560F
tetradic
#0F1756 #560F3B #564E0F #0F562A
square
#0F1756 #560F3B #564E0F #0F562A
split-complementary
#0F1756 #562A0F #3B560F
monochromatic
#05071A #060922 #0F1756 #18258A #2133BE

Accessibility & contrast

On white

16.44
#0F1756 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1756
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1756#FFFFFF#000000##FFFFFF
##0F17561.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002358
Deuteranopia (green-blind)
#001C55
Tritanopia (blue-blind)
#002834
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0f1756;
/* rgb */ color: rgb(15, 23, 86);
/* oklch */ color: oklch(24.9% 0.113 269.9);
Tailwind
colors: {
  custom: {
    50: '#5b5486',
    500: '#0f1756',
    950: '#000000',
  },
}
SCSS
$custom: #0f1756;
$custom-light: #5b5486;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1756",
  "rgb": {
    "r": 15,
    "g": 23,
    "b": 86
  },
  "hsl": {
    "h": 233.239,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24911,
    "c": 0.11268,
    "h": 269.9
  },
  "luminance": 0.01386
}

Semantic roles & 50–950 ramp

primary
#0F1756
secondary
#908531
accent
#D93BED
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0F1756

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

Preview Lab → · Contrast checker → · Palette generator →

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