#0F0A3D#0F0A3D

#0F0A3D is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.6% C 0.092 H 278.0°. Best body text is #FFFFFF at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#0F0A3D
RGBrgb(15, 10, 61)
HSLhsl(246, 72%, 14%)
HSVhsv(246, 84%, 24%)
CMYKcmyk(75.4%, 83.6%, 0%, 76.1%)
CIE-LABlab(5.92, 20.22, -31.25)
CIE-LCHlch(5.92, 37.22, 302.90°)
OKLaboklab(19.63% 0.0129 -0.0913)
OKLCHoklch(19.63% 0.092 278)
XYZxyz(1.1476, 0.6555, 4.4800)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0A3D #383D0A
analogous
#0A1F3D #0F0A3D #290A3D
triadic
#0F0A3D #3D0F0A #0A3D0F
tetradic
#0F0A3D #3D0A1F #383D0A #0A3D29
square
#0F0A3D #3D0A1F #383D0A #0A3D29
split-complementary
#0F0A3D #3D290A #1F3D0A
monochromatic
#06041A #06041A #0F0A3D #1C1372 #291BA6

Accessibility & contrast

On white

18.56
#0F0A3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#0F0A3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F0A3D
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0A3D#FFFFFF#000000##FFFFFF
##0F0A3D1.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153E
Deuteranopia (green-blind)
#00113C
Tritanopia (blue-blind)
#001822
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #0f0a3d;
/* rgb */ color: rgb(15, 10, 61);
/* oklch */ color: oklch(19.6% 0.092 278.0);
Tailwind
colors: {
  custom: {
    50: '#554a73',
    500: '#0f0a3d',
    950: '#000000',
  },
}
SCSS
$custom: #0f0a3d;
$custom-light: #554a73;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0a3d",
  "rgb": {
    "r": 15,
    "g": 10,
    "b": 61
  },
  "hsl": {
    "h": 245.882,
    "s": 71.831,
    "l": 13.922
  },
  "oklch": {
    "l": 0.19628,
    "c": 0.09221,
    "h": 278
  },
  "luminance": 0.00656
}

Semantic roles & 50–950 ramp

primary
#0F0A3D
secondary
#727A28
accent
#EF39DD
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #0F0A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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