#0F3368#0F3368

#0F3368 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 32.9% C 0.102 H 258.6°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#0F3368
RGBrgb(15, 51, 104)
HSLhsl(216, 75%, 23%)
HSVhsv(216, 86%, 41%)
CMYKcmyk(85.6%, 51%, 0%, 59.2%)
CIE-LABlab(21.83, 9.08, -34.65)
CIE-LCHlch(21.83, 35.82, 284.69°)
OKLaboklab(32.89% -0.0202 -0.0996)
OKLCHoklch(32.89% 0.102 258.6)
XYZxyz(3.8786, 3.4682, 13.5590)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3368 #68440F
analogous
#0F5F68 #0F3368 #170F68
triadic
#0F3368 #680F33 #33680F
tetradic
#0F3368 #680F5F #68440F #0F6817
square
#0F3368 #680F5F #68440F #0F6817
split-complementary
#0F3368 #68170F #5F680F
monochromatic
#040D1B #071933 #0F3368 #174D9D #1E67D3

Accessibility & contrast

On white

12.40
#0F3368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F3368
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3368#FFFFFF#000000##FFFFFF
##0F33681.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14396A
Deuteranopia (green-blind)
#003167
Tritanopia (blue-blind)
#004048
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0f3368;
/* rgb */ color: rgb(15, 51, 104);
/* oklch */ color: oklch(32.9% 0.102 258.6);
Tailwind
colors: {
  custom: {
    50: '#5e6a93',
    500: '#0f3368',
    950: '#000000',
  },
}
SCSS
$custom: #0f3368;
$custom-light: #5e6a93;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3368",
  "rgb": {
    "r": 15,
    "g": 51,
    "b": 104
  },
  "hsl": {
    "h": 215.73,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32892,
    "c": 0.10165,
    "h": 258.6
  },
  "luminance": 0.03469
}

Semantic roles & 50–950 ramp

primary
#0F3368
secondary
#A17432
accent
#A636F1
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05060D
muted
#797A7E

Preview Lab

Preview with #0F3368

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

Preview Lab → · Contrast checker → · Palette generator →

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