#0F3064#0F3064

#0F3064 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.100 H 259.4°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#0F3064
RGBrgb(15, 48, 100)
HSLhsl(217, 74%, 23%)
HSVhsv(217, 85%, 39%)
CMYKcmyk(85%, 52%, 0%, 60.8%)
CIE-LABlab(20.58, 9.53, -34.07)
CIE-LCHlch(20.58, 35.37, 285.63°)
OKLaboklab(31.84% -0.0183 -0.098)
OKLCHoklch(31.84% 0.1 259.4)
XYZxyz(3.5534, 3.1351, 12.4720)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3064 #64430F
analogous
#0F5A64 #0F3064 #190F64
triadic
#0F3064 #640F30 #30640F
tetradic
#0F3064 #640F5A #64430F #0F6419
square
#0F3064 #640F5A #64430F #0F6419
split-complementary
#0F3064 #64190F #5A640F
monochromatic
#040D1B #07162F #0F3064 #174A99 #1F63CE

Accessibility & contrast

On white

12.91
#0F3064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#0F3064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3064
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3064#FFFFFF#000000##FFFFFF
##0F30641.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113666
Deuteranopia (green-blind)
#002E63
Tritanopia (blue-blind)
#003D45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #0f3064;
/* rgb */ color: rgb(15, 48, 100);
/* oklch */ color: oklch(31.8% 0.100 259.4);
Tailwind
colors: {
  custom: {
    50: '#5d6790',
    500: '#0f3064',
    950: '#000000',
  },
}
SCSS
$custom: #0f3064;
$custom-light: #5d6790;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3064",
  "rgb": {
    "r": 15,
    "g": 48,
    "b": 100
  },
  "hsl": {
    "h": 216.706,
    "s": 73.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31835,
    "c": 0.09967,
    "h": 259.4
  },
  "luminance": 0.03136
}

Semantic roles & 50–950 ramp

primary
#0F3064
secondary
#9D7332
accent
#A937F1
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #0F3064

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

Preview Lab → · Contrast checker → · Palette generator →

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