#0F063D#0F063D

#0F063D is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.9% C 0.097 H 279.5°. Best body text is #FFFFFF at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#0F063D
RGBrgb(15, 6, 61)
HSLhsl(250, 82%, 13%)
HSVhsv(250, 90%, 24%)
CMYKcmyk(75.4%, 90.2%, 0%, 76.1%)
CIE-LABlab(5.14, 22.14, -32.53)
CIE-LCHlch(5.14, 39.35, 304.24°)
OKLaboklab(18.92% 0.0161 -0.0961)
OKLCHoklch(18.92% 0.097 279.5)
XYZxyz(1.1042, 0.5686, 4.4655)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F063D #343D06
analogous
#06183D #0F063D #2A063D
triadic
#0F063D #3D0F06 #063D0F
tetradic
#0F063D #3D0618 #343D06 #063D2A
square
#0F063D #3D0618 #343D06 #063D2A
split-complementary
#0F063D #3D2A06 #183D06
monochromatic
#07031C #07031C #0F063D #1D0B75 #2A11AC

Accessibility & contrast

On white

18.85
#0F063D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0F063D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F063D
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F063D#FFFFFF#000000##FFFFFF
##0F063D1.0018.851.1118.85
#FFFFFF18.851.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133F
Deuteranopia (green-blind)
#000F3C
Tritanopia (blue-blind)
#001621
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #0f063d;
/* rgb */ color: rgb(15, 6, 61);
/* oklch */ color: oklch(18.9% 0.097 279.5);
Tailwind
colors: {
  custom: {
    50: '#554873',
    500: '#0f063d',
    950: '#000000',
  },
}
SCSS
$custom: #0f063d;
$custom-light: #554873;
$custom-dark: #000000;
JSON
{
  "hex": "#0f063d",
  "rgb": {
    "r": 15,
    "g": 6,
    "b": 61
  },
  "hsl": {
    "h": 249.818,
    "s": 82.09,
    "l": 13.137
  },
  "oklch": {
    "l": 0.18923,
    "c": 0.09741,
    "h": 279.5
  },
  "luminance": 0.00569
}

Semantic roles & 50–950 ramp

primary
#0F063D
secondary
#6E7D22
accent
#F82FD8
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0F063D

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

Preview Lab → · Contrast checker → · Palette generator →

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