#0F063F#0F063F

#0F063F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.2% C 0.100 H 278.8°. Best body text is #FFFFFF at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#0F063F
RGBrgb(15, 6, 63)
HSLhsl(249, 83%, 14%)
HSVhsv(249, 90%, 25%)
CMYKcmyk(76.2%, 90.5%, 0%, 75.3%)
CIE-LABlab(5.33, 23.12, -33.64)
CIE-LCHlch(5.33, 40.82, 304.50°)
OKLaboklab(19.18% 0.0154 -0.099)
OKLCHoklch(19.18% 0.1 278.8)
XYZxyz(1.1590, 0.5906, 4.7546)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F063F #363F06
analogous
#06193F #0F063F #2B063F
triadic
#0F063F #3F0F06 #063F0F
tetradic
#0F063F #3F0619 #363F06 #063F2B
square
#0F063F #3F0619 #363F06 #063F2B
split-complementary
#0F063F #3F2B06 #193F06
monochromatic
#07031C #07031C #0F063F #1C0B77 #2A11AF

Accessibility & contrast

On white

18.78
#0F063F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#0F063F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F063F
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F063F#FFFFFF#000000##FFFFFF
##0F063F1.0018.781.1218.78
#FFFFFF18.781.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001441
Deuteranopia (green-blind)
#000F3E
Tritanopia (blue-blind)
#001722
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #0f063f;
/* rgb */ color: rgb(15, 6, 63);
/* oklch */ color: oklch(19.2% 0.100 278.8);
Tailwind
colors: {
  custom: {
    50: '#564875',
    500: '#0f063f',
    950: '#000000',
  },
}
SCSS
$custom: #0f063f;
$custom-light: #564875;
$custom-dark: #000000;
JSON
{
  "hex": "#0f063f",
  "rgb": {
    "r": 15,
    "g": 6,
    "b": 63
  },
  "hsl": {
    "h": 249.474,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.19183,
    "c": 0.10017,
    "h": 278.8
  },
  "luminance": 0.00591
}

Semantic roles & 50–950 ramp

primary
#0F063F
secondary
#707F22
accent
#F92FD9
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#030008
muted
#78777B

Preview Lab

Preview with #0F063F

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

Preview Lab → · Contrast checker → · Palette generator →

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