#0F336D#0F336D

#0F336D is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.3% C 0.109 H 259.8°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#0F336D
RGBrgb(15, 51, 109)
HSLhsl(217, 76%, 24%)
HSVhsv(217, 86%, 43%)
CMYKcmyk(86.2%, 53.2%, 0%, 57.3%)
CIE-LABlab(22.21, 11.25, -37.28)
CIE-LCHlch(22.21, 38.94, 286.79°)
OKLaboklab(33.3% -0.0193 -0.1074)
OKLCHoklch(33.3% 0.109 259.8)
XYZxyz(4.1401, 3.5728, 14.9365)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F336D #6D490F
analogous
#0F626D #0F336D #1A0F6D
triadic
#0F336D #6D0F33 #336D0F
tetradic
#0F336D #6D0F62 #6D490F #0F6D1A
square
#0F336D #6D0F62 #6D490F #0F6D1A
split-complementary
#0F336D #6D1A0F #626D0F
monochromatic
#040D1B #081A37 #0F336D #164CA3 #1E65D9

Accessibility & contrast

On white

12.25
#0F336D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#0F336D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F336D
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F336D#FFFFFF#000000##FFFFFF
##0F336D1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3A6F
Deuteranopia (green-blind)
#00316C
Tritanopia (blue-blind)
#00414A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0f336d;
/* rgb */ color: rgb(15, 51, 109);
/* oklch */ color: oklch(33.3% 0.109 259.8);
Tailwind
colors: {
  custom: {
    50: '#606a97',
    500: '#0f336d',
    950: '#000000',
  },
}
SCSS
$custom: #0f336d;
$custom-light: #606a97;
$custom-dark: #000000;
JSON
{
  "hex": "#0f336d",
  "rgb": {
    "r": 15,
    "g": 51,
    "b": 109
  },
  "hsl": {
    "h": 217.021,
    "s": 75.806,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33301,
    "c": 0.10909,
    "h": 259.8
  },
  "luminance": 0.03573
}

Semantic roles & 50–950 ramp

primary
#0F336D
secondary
#A57933
accent
#AA35F2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #0F336D

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

Preview Lab → · Contrast checker → · Palette generator →

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