#0F3671#0F3671

#0F3671 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.3% C 0.111 H 259.0°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#0F3671
RGBrgb(15, 54, 113)
HSLhsl(216, 77%, 25%)
HSVhsv(216, 87%, 44%)
CMYKcmyk(86.7%, 52.2%, 0%, 55.7%)
CIE-LABlab(23.44, 10.81, -37.84)
CIE-LCHlch(23.44, 39.36, 285.94°)
OKLaboklab(34.35% -0.0211 -0.109)
OKLCHoklch(34.35% 0.111 259)
XYZxyz(4.4957, 3.9316, 16.1415)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3671 #714A0F
analogous
#0F6771 #0F3671 #190F71
triadic
#0F3671 #710F36 #36710F
tetradic
#0F3671 #710F67 #714A0F #0F7119
square
#0F3671 #710F67 #714A0F #0F7119
split-complementary
#0F3671 #71190F #67710F
monochromatic
#040D1B #081C3B #0F3671 #1650A7 #1D6ADD

Accessibility & contrast

On white

11.76
#0F3671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#0F3671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3671
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3671#FFFFFF#000000##FFFFFF
##0F36711.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113D73
Deuteranopia (green-blind)
#003470
Tritanopia (blue-blind)
#00444E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0f3671;
/* rgb */ color: rgb(15, 54, 113);
/* oklch */ color: oklch(34.3% 0.111 259.0);
Tailwind
colors: {
  custom: {
    50: '#616c9a',
    500: '#0f3671',
    950: '#000000',
  },
}
SCSS
$custom: #0f3671;
$custom-light: #616c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3671",
  "rgb": {
    "r": 15,
    "g": 54,
    "b": 113
  },
  "hsl": {
    "h": 216.122,
    "s": 76.563,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34347,
    "c": 0.11099,
    "h": 259
  },
  "luminance": 0.03932
}

Semantic roles & 50–950 ramp

primary
#0F3671
secondary
#A97A33
accent
#A735F3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #0F3671

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

Preview Lab → · Contrast checker → · Palette generator →

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