#0F1741#0F1741

#0F1741 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.7% C 0.080 H 270.5°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#0F1741
RGBrgb(15, 23, 65)
HSLhsl(230, 63%, 16%)
HSVhsv(230, 77%, 25%)
CMYKcmyk(76.9%, 64.6%, 0%, 74.5%)
CIE-LABlab(9.77, 13.15, -27.83)
CIE-LCHlch(9.77, 30.78, 295.29°)
OKLaboklab(22.72% 0.0007 -0.0801)
OKLCHoklch(22.72% 0.08 270.5)
XYZxyz(1.4572, 1.0959, 5.1347)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1741 #41390F
analogous
#0F3041 #0F1741 #200F41
triadic
#0F1741 #410F17 #17410F
tetradic
#0F1741 #410F30 #41390F #0F4120
square
#0F1741 #410F30 #41390F #0F4120
split-complementary
#0F1741 #41200F #30410F
monochromatic
#060919 #060919 #0F1741 #1A2973 #263AA4

Accessibility & contrast

On white

17.22
#0F1741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#0F1741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1741
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1741#FFFFFF#000000##FFFFFF
##0F17411.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D42
Deuteranopia (green-blind)
#001940
Tritanopia (blue-blind)
#002129
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #0f1741;
/* rgb */ color: rgb(15, 23, 65);
/* oklch */ color: oklch(22.7% 0.080 270.5);
Tailwind
colors: {
  custom: {
    50: '#555376',
    500: '#0f1741',
    950: '#000000',
  },
}
SCSS
$custom: #0f1741;
$custom-light: #555376;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1741",
  "rgb": {
    "r": 15,
    "g": 23,
    "b": 65
  },
  "hsl": {
    "h": 230.4,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22717,
    "c": 0.08014,
    "h": 270.5
  },
  "luminance": 0.01096
}

Semantic roles & 50–950 ramp

primary
#0F1741
secondary
#7B6F30
accent
#CB42E6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0F1741

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

Preview Lab → · Contrast checker → · Palette generator →

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