#0F0F3F#0F0F3F

#0F0F3F is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.8% C 0.089 H 275.5°. Best body text is #FFFFFF at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#0F0F3F
RGBrgb(15, 15, 63)
HSLhsl(240, 62%, 15%)
HSVhsv(240, 76%, 25%)
CMYKcmyk(76.2%, 76.2%, 0%, 75.3%)
CIE-LABlab(7.24, 18.29, -30.53)
CIE-LCHlch(7.24, 35.59, 300.93°)
OKLaboklab(20.78% 0.0084 -0.0882)
OKLCHoklch(20.78% 0.089 275.5)
XYZxyz(1.2647, 0.8020, 4.7898)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0F3F #3F3F0F
analogous
#0F273F #0F0F3F #270F3F
triadic
#0F0F3F #3F0F0F #0F3F0F
tetradic
#0F0F3F #3F0F27 #3F3F0F #0F3F27
square
#0F0F3F #3F0F27 #3F3F0F #0F3F27
split-complementary
#0F0F3F #3F270F #273F0F
monochromatic
#060619 #060619 #0F0F3F #1B1B70 #2727A2

Accessibility & contrast

On white

18.10
#0F0F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0F3F
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0F3F#FFFFFF#000000##FFFFFF
##0F0F3F1.0018.101.1618.10
#FFFFFF18.101.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001840
Deuteranopia (green-blind)
#00143E
Tritanopia (blue-blind)
#001C25
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #0f0f3f;
/* rgb */ color: rgb(15, 15, 63);
/* oklch */ color: oklch(20.8% 0.089 275.5);
Tailwind
colors: {
  custom: {
    50: '#554d75',
    500: '#0f0f3f',
    950: '#000000',
  },
}
SCSS
$custom: #0f0f3f;
$custom-light: #554d75;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0f3f",
  "rgb": {
    "r": 15,
    "g": 15,
    "b": 63
  },
  "hsl": {
    "h": 240,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2078,
    "c": 0.08865,
    "h": 275.5
  },
  "luminance": 0.00802
}

Semantic roles & 50–950 ramp

primary
#0F0F3F
secondary
#797930
accent
#E543E5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F0F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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