#0F3265#0F3265

#0F3265 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.4% C 0.099 H 258.4°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#0F3265
RGBrgb(15, 50, 101)
HSLhsl(216, 74%, 23%)
HSVhsv(216, 85%, 40%)
CMYKcmyk(85.1%, 50.5%, 0%, 60.4%)
CIE-LABlab(21.29, 8.51, -33.57)
CIE-LCHlch(21.29, 34.63, 284.22°)
OKLaboklab(32.41% -0.0198 -0.0965)
OKLCHoklch(32.41% 0.099 258.4)
XYZxyz(3.6857, 3.3219, 12.7563)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3265 #65420F
analogous
#0F5D65 #0F3265 #170F65
triadic
#0F3265 #650F32 #32650F
tetradic
#0F3265 #650F5D #65420F #0F6517
square
#0F3265 #650F5D #65420F #0F6517
split-complementary
#0F3265 #65170F #5D650F
monochromatic
#040D1B #071830 #0F3265 #174C9A #1F67D0

Accessibility & contrast

On white

12.62
#0F3265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#0F3265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3265
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3265#FFFFFF#000000##FFFFFF
##0F32651.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153767
Deuteranopia (green-blind)
#002F64
Tritanopia (blue-blind)
#003E46
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0f3265;
/* rgb */ color: rgb(15, 50, 101);
/* oklch */ color: oklch(32.4% 0.099 258.4);
Tailwind
colors: {
  custom: {
    50: '#5d6991',
    500: '#0f3265',
    950: '#000000',
  },
}
SCSS
$custom: #0f3265;
$custom-light: #5d6991;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3265",
  "rgb": {
    "r": 15,
    "g": 50,
    "b": 101
  },
  "hsl": {
    "h": 215.581,
    "s": 74.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32406,
    "c": 0.0985,
    "h": 258.4
  },
  "luminance": 0.03322
}

Semantic roles & 50–950 ramp

primary
#0F3265
secondary
#9E7232
accent
#A537F1
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060D
muted
#797A7D

Preview Lab

Preview with #0F3265

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

Preview Lab → · Contrast checker → · Palette generator →

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