#0F336E#0F336E

#0F336E is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.4% C 0.111 H 260.0°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#0F336E
RGBrgb(15, 51, 110)
HSLhsl(217, 76%, 25%)
HSVhsv(217, 86%, 43%)
CMYKcmyk(86.4%, 53.6%, 0%, 56.9%)
CIE-LABlab(22.28, 11.68, -37.80)
CIE-LCHlch(22.28, 39.56, 287.17°)
OKLaboklab(33.39% -0.0192 -0.1089)
OKLCHoklch(33.39% 0.111 260)
XYZxyz(4.1943, 3.5945, 15.2216)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F336E #6E4A0F
analogous
#0F636E #0F336E #1A0F6E
triadic
#0F336E #6E0F33 #336E0F
tetradic
#0F336E #6E0F63 #6E4A0F #0F6E1A
square
#0F336E #6E0F63 #6E4A0F #0F6E1A
split-complementary
#0F336E #6E1A0F #636E0F
monochromatic
#040C1B #081A38 #0F336E #164CA4 #1E65DA

Accessibility & contrast

On white

12.22
#0F336E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#0F336E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F336E
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F336E#FFFFFF#000000##FFFFFF
##0F336E1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3A70
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0f336e;
/* rgb */ color: rgb(15, 51, 110);
/* oklch */ color: oklch(33.4% 0.111 260.0);
Tailwind
colors: {
  custom: {
    50: '#606a98',
    500: '#0f336e',
    950: '#000000',
  },
}
SCSS
$custom: #0f336e;
$custom-light: #606a98;
$custom-dark: #000000;
JSON
{
  "hex": "#0f336e",
  "rgb": {
    "r": 15,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 217.263,
    "s": 76,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33385,
    "c": 0.11056,
    "h": 260
  },
  "luminance": 0.03595
}

Semantic roles & 50–950 ramp

primary
#0F336E
secondary
#A67A33
accent
#AB35F3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#05060E
muted
#7A7A7E

Preview Lab

Preview with #0F336E

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

Preview Lab → · Contrast checker → · Palette generator →

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