#0F3266#0F3266

#0F3266 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.100 H 258.7°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#0F3266
RGBrgb(15, 50, 102)
HSLhsl(216, 74%, 23%)
HSVhsv(216, 85%, 40%)
CMYKcmyk(85.3%, 51%, 0%, 60%)
CIE-LABlab(21.36, 8.94, -34.10)
CIE-LCHlch(21.36, 35.26, 284.69°)
OKLaboklab(32.49% -0.0197 -0.098)
OKLCHoklch(32.49% 0.1 258.7)
XYZxyz(3.7350, 3.3416, 13.0159)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3266 #66430F
analogous
#0F5D66 #0F3266 #170F66
triadic
#0F3266 #660F32 #32660F
tetradic
#0F3266 #660F5D #66430F #0F6617
square
#0F3266 #660F5D #66430F #0F6617
split-complementary
#0F3266 #66170F #5D660F
monochromatic
#040D1B #071831 #0F3266 #174C9B #1F66D1

Accessibility & contrast

On white

12.59
#0F3266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#0F3266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3266
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3266#FFFFFF#000000##FFFFFF
##0F32661.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143768
Deuteranopia (green-blind)
#003065
Tritanopia (blue-blind)
#003E47
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0f3266;
/* rgb */ color: rgb(15, 50, 102);
/* oklch */ color: oklch(32.5% 0.100 258.7);
Tailwind
colors: {
  custom: {
    50: '#5e6992',
    500: '#0f3266',
    950: '#000000',
  },
}
SCSS
$custom: #0f3266;
$custom-light: #5e6992;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3266",
  "rgb": {
    "r": 15,
    "g": 50,
    "b": 102
  },
  "hsl": {
    "h": 215.862,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32487,
    "c": 0.09999,
    "h": 258.7
  },
  "luminance": 0.03342
}

Semantic roles & 50–950 ramp

primary
#0F3266
secondary
#9F7332
accent
#A637F1
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05060D
muted
#797A7E

Preview Lab

Preview with #0F3266

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

Preview Lab → · Contrast checker → · Palette generator →

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