#0F3268#0F3268

#0F3268 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.6% C 0.103 H 259.2°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#0F3268
RGBrgb(15, 50, 104)
HSLhsl(216, 75%, 23%)
HSVhsv(216, 86%, 41%)
CMYKcmyk(85.6%, 51.9%, 0%, 59.2%)
CIE-LABlab(21.51, 9.81, -35.16)
CIE-LCHlch(21.51, 36.50, 285.59°)
OKLaboklab(32.65% -0.0193 -0.1012)
OKLCHoklch(32.65% 0.103 259.2)
XYZxyz(3.8354, 3.3818, 13.5446)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3268 #68450F
analogous
#0F5E68 #0F3268 #180F68
triadic
#0F3268 #680F32 #32680F
tetradic
#0F3268 #680F5E #68450F #0F6818
square
#0F3268 #680F5E #68450F #0F6818
split-complementary
#0F3268 #68180F #5E680F
monochromatic
#040D1B #071833 #0F3268 #174C9D #1E65D3

Accessibility & contrast

On white

12.53
#0F3268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#0F3268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3268
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3268#FFFFFF#000000##FFFFFF
##0F32681.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12386A
Deuteranopia (green-blind)
#003067
Tritanopia (blue-blind)
#003F48
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0f3268;
/* rgb */ color: rgb(15, 50, 104);
/* oklch */ color: oklch(32.6% 0.103 259.2);
Tailwind
colors: {
  custom: {
    50: '#5e6993',
    500: '#0f3268',
    950: '#000000',
  },
}
SCSS
$custom: #0f3268;
$custom-light: #5e6993;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3268",
  "rgb": {
    "r": 15,
    "g": 50,
    "b": 104
  },
  "hsl": {
    "h": 216.404,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32649,
    "c": 0.10299,
    "h": 259.2
  },
  "luminance": 0.03382
}

Semantic roles & 50–950 ramp

primary
#0F3268
secondary
#A17532
accent
#A836F1
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05060D
muted
#797A7E

Preview Lab

Preview with #0F3268

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

Preview Lab → · Contrast checker → · Palette generator →

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