#0F1335#0F1335

#0F1335 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.6% C 0.066 H 274.0°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#0F1335
RGBrgb(15, 19, 53)
HSLhsl(234, 56%, 13%)
HSVhsv(234, 72%, 21%)
CMYKcmyk(71.7%, 64.2%, 0%, 79.2%)
CIE-LABlab(7.45, 11.08, -22.99)
CIE-LCHlch(7.45, 25.52, 295.74°)
OKLaboklab(20.63% 0.0046 -0.066)
OKLCHoklch(20.63% 0.066 274)
XYZxyz(1.0723, 0.8243, 3.4701)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F1335 #35310F
analogous
#0F2635 #0F1335 #1E0F35
triadic
#0F1335 #350F13 #13350F
tetradic
#0F1335 #350F26 #35310F #0F351E
square
#0F1335 #350F26 #35310F #0F351E
split-complementary
#0F1335 #351E0F #26350F
monochromatic
#070918 #070918 #0F1335 #1C2465 #2A3594

Accessibility & contrast

On white

18.03
#0F1335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F1335
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F1335#FFFFFF#000000##FFFFFF
##0F13351.0018.031.1618.03
#FFFFFF18.031.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011836
Deuteranopia (green-blind)
#001534
Tritanopia (blue-blind)
#001B21
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0f1335;
/* rgb */ color: rgb(15, 19, 53);
/* oklch */ color: oklch(20.6% 0.066 274.0);
Tailwind
colors: {
  custom: {
    50: '#52506c',
    500: '#0f1335',
    950: '#000000',
  },
}
SCSS
$custom: #0f1335;
$custom-light: #52506c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f1335",
  "rgb": {
    "r": 15,
    "g": 19,
    "b": 53
  },
  "hsl": {
    "h": 233.684,
    "s": 55.882,
    "l": 13.333
  },
  "oklch": {
    "l": 0.20633,
    "c": 0.06617,
    "h": 274
  },
  "luminance": 0.00824
}

Semantic roles & 50–950 ramp

primary
#0F1335
secondary
#6F6931
accent
#CF49DF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020207
muted
#78787A

Preview Lab

Preview with #0F1335

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

Preview Lab → · Contrast checker → · Palette generator →

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