#0F1754#0F1754

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

Color values

HEX#0F1754
RGBrgb(15, 23, 84)
HSLhsl(233, 70%, 19%)
HSVhsv(233, 82%, 33%)
CMYKcmyk(82.1%, 72.6%, 0%, 67.1%)
CIE-LABlab(11.65, 21.19, -37.93)
CIE-LCHlch(11.65, 43.45, 299.20°)
OKLaboklab(24.69% 0.0001 -0.1097)
OKLCHoklch(24.69% 0.11 270)
XYZxyz(2.1031, 1.3542, 8.5363)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1754 #544C0F
analogous
#0F3A54 #0F1754 #290F54
triadic
#0F1754 #540F17 #17540F
tetradic
#0F1754 #540F3A #544C0F #0F5429
square
#0F1754 #540F3A #544C0F #0F5429
split-complementary
#0F1754 #54290F #3A540F
monochromatic
#05071A #060920 #0F1754 #182588 #2233BC

Accessibility & contrast

On white

16.53
#0F1754 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1754
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1754#FFFFFF#000000##FFFFFF
##0F17541.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002256
Deuteranopia (green-blind)
#001C53
Tritanopia (blue-blind)
#002733
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0f1754;
/* rgb */ color: rgb(15, 23, 84);
/* oklch */ color: oklch(24.7% 0.110 270.0);
Tailwind
colors: {
  custom: {
    50: '#5b5485',
    500: '#0f1754',
    950: '#000000',
  },
}
SCSS
$custom: #0f1754;
$custom-light: #5b5485;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1754",
  "rgb": {
    "r": 15,
    "g": 23,
    "b": 84
  },
  "hsl": {
    "h": 233.043,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.24689,
    "c": 0.10974,
    "h": 270
  },
  "luminance": 0.01354
}

Semantic roles & 50–950 ramp

primary
#0F1754
secondary
#8E8331
accent
#D83BED
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04020B
muted
#79787C

Preview Lab

Preview with #0F1754

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

Preview Lab → · Contrast checker → · Palette generator →

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