#0F3267#0F3267

#0F3267 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.6% C 0.101 H 258.9°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#0F3267
RGBrgb(15, 50, 103)
HSLhsl(216, 75%, 23%)
HSVhsv(216, 85%, 40%)
CMYKcmyk(85.4%, 51.5%, 0%, 59.6%)
CIE-LABlab(21.44, 9.37, -34.63)
CIE-LCHlch(21.44, 35.88, 285.15°)
OKLaboklab(32.57% -0.0195 -0.0996)
OKLCHoklch(32.57% 0.101 258.9)
XYZxyz(3.7849, 3.3616, 13.2787)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3267 #67440F
analogous
#0F5E67 #0F3267 #180F67
triadic
#0F3267 #670F32 #32670F
tetradic
#0F3267 #670F5E #67440F #0F6718
square
#0F3267 #670F5E #67440F #0F6718
split-complementary
#0F3267 #67180F #5E670F
monochromatic
#040D1B #071832 #0F3267 #174C9C #1F66D2

Accessibility & contrast

On white

12.56
#0F3267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#0F3267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3267
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3267#FFFFFF#000000##FFFFFF
##0F32671.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133869
Deuteranopia (green-blind)
#003066
Tritanopia (blue-blind)
#003F47
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0f3267;
/* rgb */ color: rgb(15, 50, 103);
/* oklch */ color: oklch(32.6% 0.101 258.9);
Tailwind
colors: {
  custom: {
    50: '#5e6993',
    500: '#0f3267',
    950: '#000000',
  },
}
SCSS
$custom: #0f3267;
$custom-light: #5e6993;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3267",
  "rgb": {
    "r": 15,
    "g": 50,
    "b": 103
  },
  "hsl": {
    "h": 216.136,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32567,
    "c": 0.10149,
    "h": 258.9
  },
  "luminance": 0.03362
}

Semantic roles & 50–950 ramp

primary
#0F3267
secondary
#A07432
accent
#A737F1
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05060D
muted
#797A7E

Preview Lab

Preview with #0F3267

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

Preview Lab → · Contrast checker → · Palette generator →

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