#0F336A#0F336A

#0F336A is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.1% C 0.105 H 259.1°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#0F336A
RGBrgb(15, 51, 106)
HSLhsl(216, 75%, 24%)
HSVhsv(216, 86%, 42%)
CMYKcmyk(85.8%, 51.9%, 0%, 58.4%)
CIE-LABlab(21.98, 9.95, -35.71)
CIE-LCHlch(21.98, 37.07, 285.57°)
OKLaboklab(33.05% -0.0198 -0.1027)
OKLCHoklch(33.05% 0.105 259.1)
XYZxyz(3.9814, 3.5093, 14.1004)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F336A #6A460F
analogous
#0F606A #0F336A #180F6A
triadic
#0F336A #6A0F33 #336A0F
tetradic
#0F336A #6A0F60 #6A460F #0F6A18
square
#0F336A #6A0F60 #6A460F #0F6A18
split-complementary
#0F336A #6A180F #606A0F
monochromatic
#040D1B #071934 #0F336A #174DA0 #1E67D5

Accessibility & contrast

On white

12.34
#0F336A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#0F336A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F336A
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F336A#FFFFFF#000000##FFFFFF
##0F336A1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12396C
Deuteranopia (green-blind)
#003169
Tritanopia (blue-blind)
#004049
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0f336a;
/* rgb */ color: rgb(15, 51, 106);
/* oklch */ color: oklch(33.1% 0.105 259.1);
Tailwind
colors: {
  custom: {
    50: '#5f6a95',
    500: '#0f336a',
    950: '#000000',
  },
}
SCSS
$custom: #0f336a;
$custom-light: #5f6a95;
$custom-dark: #000000;
JSON
{
  "hex": "#0f336a",
  "rgb": {
    "r": 15,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 216.264,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33054,
    "c": 0.10463,
    "h": 259.1
  },
  "luminance": 0.0351
}

Semantic roles & 50–950 ramp

primary
#0F336A
secondary
#A27632
accent
#A836F2
background
#F5F6F9
surface
#EAEBF2
border
#C6C6CC
text
#05060D
muted
#797A7E

Preview Lab

Preview with #0F336A

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

Preview Lab → · Contrast checker → · Palette generator →

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