#0F1640#0F1640

#0F1640 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.4% C 0.080 H 271.2°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#0F1640
RGBrgb(15, 22, 64)
HSLhsl(231, 62%, 15%)
HSVhsv(231, 77%, 25%)
CMYKcmyk(76.6%, 65.6%, 0%, 74.9%)
CIE-LABlab(9.36, 13.50, -27.78)
CIE-LCHlch(9.36, 30.89, 295.92°)
OKLaboklab(22.39% 0.0017 -0.08)
OKLCHoklch(22.39% 0.08 271.2)
XYZxyz(1.4090, 1.0454, 4.9770)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1640 #40390F
analogous
#0F2E40 #0F1640 #200F40
triadic
#0F1640 #400F16 #16400F
tetradic
#0F1640 #400F2E #40390F #0F4020
square
#0F1640 #400F2E #40390F #0F4020
split-complementary
#0F1640 #40200F #2E400F
monochromatic
#060919 #060919 #0F1640 #1B2772 #2638A3

Accessibility & contrast

On white

17.37
#0F1640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#0F1640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1640
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1640#FFFFFF#000000##FFFFFF
##0F16401.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C41
Deuteranopia (green-blind)
#00183F
Tritanopia (blue-blind)
#002028
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #0f1640;
/* rgb */ color: rgb(15, 22, 64);
/* oklch */ color: oklch(22.4% 0.080 271.2);
Tailwind
colors: {
  custom: {
    50: '#555275',
    500: '#0f1640',
    950: '#000000',
  },
}
SCSS
$custom: #0f1640;
$custom-light: #555275;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1640",
  "rgb": {
    "r": 15,
    "g": 22,
    "b": 64
  },
  "hsl": {
    "h": 231.429,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.22389,
    "c": 0.08002,
    "h": 271.2
  },
  "luminance": 0.01046
}

Semantic roles & 50–950 ramp

primary
#0F1640
secondary
#7A7030
accent
#CE43E5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #0F1640

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

Preview Lab → · Contrast checker → · Palette generator →

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