#0F1757#0F1757

#0F1757 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.0% C 0.114 H 269.9°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#0F1757
RGBrgb(15, 23, 87)
HSLhsl(233, 71%, 20%)
HSVhsv(233, 83%, 34%)
CMYKcmyk(82.8%, 73.6%, 0%, 65.9%)
CIE-LABlab(11.97, 22.42, -39.43)
CIE-LCHlch(11.97, 45.36, 299.62°)
OKLaboklab(25.02% -0.0002 -0.1141)
OKLCHoklch(25.02% 0.114 269.9)
XYZxyz(2.2231, 1.4022, 9.1685)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1757 #574F0F
analogous
#0F3B57 #0F1757 #2B0F57
triadic
#0F1757 #570F17 #17570F
tetradic
#0F1757 #570F3B #574F0F #0F572B
square
#0F1757 #570F3B #574F0F #0F572B
split-complementary
#0F1757 #572B0F #3B570F
monochromatic
#05071A #060923 #0F1757 #18258B #2133BF

Accessibility & contrast

On white

16.40
#0F1757 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1757
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1757#FFFFFF#000000##FFFFFF
##0F17571.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f1757;
/* rgb */ color: rgb(15, 23, 87);
/* oklch */ color: oklch(25.0% 0.114 269.9);
Tailwind
colors: {
  custom: {
    50: '#5b5487',
    500: '#0f1757',
    950: '#000000',
  },
}
SCSS
$custom: #0f1757;
$custom-light: #5b5487;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1757",
  "rgb": {
    "r": 15,
    "g": 23,
    "b": 87
  },
  "hsl": {
    "h": 233.333,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.25022,
    "c": 0.11414,
    "h": 269.9
  },
  "luminance": 0.01402
}

Semantic roles & 50–950 ramp

primary
#0F1757
secondary
#918631
accent
#D93AED
background
#F5F4F8
surface
#E9E7F0
border
#C5C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #0F1757

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

Preview Lab → · Contrast checker → · Palette generator →

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