#0F326A#0F326A

#0F326A is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.8% C 0.106 H 259.7°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#0F326A
RGBrgb(15, 50, 106)
HSLhsl(217, 75%, 24%)
HSVhsv(217, 86%, 42%)
CMYKcmyk(85.8%, 52.8%, 0%, 58.4%)
CIE-LABlab(21.66, 10.67, -36.21)
CIE-LCHlch(21.66, 37.75, 286.42°)
OKLaboklab(32.81% -0.019 -0.1043)
OKLCHoklch(32.81% 0.106 259.7)
XYZxyz(3.9382, 3.4229, 14.0860)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F326A #6A470F
analogous
#0F5F6A #0F326A #190F6A
triadic
#0F326A #6A0F32 #326A0F
tetradic
#0F326A #6A0F5F #6A470F #0F6A19
square
#0F326A #6A0F5F #6A470F #0F6A19
split-complementary
#0F326A #6A190F #5F6A0F
monochromatic
#040D1B #071934 #0F326A #174BA0 #1E65D5

Accessibility & contrast

On white

12.47
#0F326A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#0F326A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F326A
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F326A#FFFFFF#000000##FFFFFF
##0F326A1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F386C
Deuteranopia (green-blind)
#003069
Tritanopia (blue-blind)
#004049
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0f326a;
/* rgb */ color: rgb(15, 50, 106);
/* oklch */ color: oklch(32.8% 0.106 259.7);
Tailwind
colors: {
  custom: {
    50: '#5f6995',
    500: '#0f326a',
    950: '#000000',
  },
}
SCSS
$custom: #0f326a;
$custom-light: #5f6995;
$custom-dark: #000000;
JSON
{
  "hex": "#0f326a",
  "rgb": {
    "r": 15,
    "g": 50,
    "b": 106
  },
  "hsl": {
    "h": 216.923,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32813,
    "c": 0.10598,
    "h": 259.7
  },
  "luminance": 0.03423
}

Semantic roles & 50–950 ramp

primary
#0F326A
secondary
#A27732
accent
#AA36F2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #0F326A

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

Preview Lab → · Contrast checker → · Palette generator →

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