#0F3367#0F3367

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

Color values

HEX#0F3367
RGBrgb(15, 51, 103)
HSLhsl(215, 75%, 23%)
HSVhsv(215, 85%, 40%)
CMYKcmyk(85.4%, 50.5%, 0%, 59.6%)
CIE-LABlab(21.76, 8.65, -34.12)
CIE-LCHlch(21.76, 35.20, 284.23°)
OKLaboklab(32.81% -0.0203 -0.0981)
OKLCHoklch(32.81% 0.1 258.3)
XYZxyz(3.8281, 3.4480, 13.2931)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3367 #67430F
analogous
#0F5F67 #0F3367 #170F67
triadic
#0F3367 #670F33 #33670F
tetradic
#0F3367 #670F5F #67430F #0F6717
square
#0F3367 #670F5F #67430F #0F6717
split-complementary
#0F3367 #67170F #5F670F
monochromatic
#040D1B #071932 #0F3367 #174D9C #1F68D2

Accessibility & contrast

On white

12.43
#0F3367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#0F3367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3367
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3367#FFFFFF#000000##FFFFFF
##0F33671.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163869
Deuteranopia (green-blind)
#003066
Tritanopia (blue-blind)
#003F48
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0f3367;
/* rgb */ color: rgb(15, 51, 103);
/* oklch */ color: oklch(32.8% 0.100 258.3);
Tailwind
colors: {
  custom: {
    50: '#5e6a93',
    500: '#0f3367',
    950: '#000000',
  },
}
SCSS
$custom: #0f3367;
$custom-light: #5e6a93;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3367",
  "rgb": {
    "r": 15,
    "g": 51,
    "b": 103
  },
  "hsl": {
    "h": 215.455,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32812,
    "c": 0.10016,
    "h": 258.3
  },
  "luminance": 0.03448
}

Semantic roles & 50–950 ramp

primary
#0F3367
secondary
#A07332
accent
#A537F1
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05060D
muted
#797A7E

Preview Lab

Preview with #0F3367

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

Preview Lab → · Contrast checker → · Palette generator →

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