#0F1333#0F1333

#0F1333 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.4% C 0.063 H 274.1°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#0F1333
RGBrgb(15, 19, 51)
HSLhsl(233, 55%, 13%)
HSVhsv(233, 71%, 20%)
CMYKcmyk(70.6%, 62.7%, 0%, 80%)
CIE-LABlab(7.28, 10.19, -21.79)
CIE-LCHlch(7.28, 24.05, 295.07°)
OKLaboklab(20.45% 0.0045 -0.0625)
OKLCHoklch(20.45% 0.063 274.1)
XYZxyz(1.0272, 0.8062, 3.2328)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1333 #332F0F
analogous
#0F2533 #0F1333 #1D0F33
triadic
#0F1333 #330F13 #13330F
tetradic
#0F1333 #330F25 #332F0F #0F331D
square
#0F1333 #330F25 #332F0F #0F331D
split-complementary
#0F1333 #331D0F #25330F
monochromatic
#070918 #070918 #0F1333 #1D2562 #2B3692

Accessibility & contrast

On white

18.08
#0F1333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#0F1333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F1333
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1333#FFFFFF#000000##FFFFFF
##0F13331.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031834
Deuteranopia (green-blind)
#001532
Tritanopia (blue-blind)
#001A20
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0f1333;
/* rgb */ color: rgb(15, 19, 51);
/* oklch */ color: oklch(20.4% 0.063 274.1);
Tailwind
colors: {
  custom: {
    50: '#52506b',
    500: '#0f1333',
    950: '#000000',
  },
}
SCSS
$custom: #0f1333;
$custom-light: #52506b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1333",
  "rgb": {
    "r": 15,
    "g": 19,
    "b": 51
  },
  "hsl": {
    "h": 233.333,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.20449,
    "c": 0.06269,
    "h": 274.1
  },
  "luminance": 0.00806
}

Semantic roles & 50–950 ramp

primary
#0F1333
secondary
#6D6631
accent
#CD4ADE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #0F1333

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

Preview Lab → · Contrast checker → · Palette generator →

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