#0F3065#0F3065

#0F3065 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 31.9% C 0.101 H 259.7°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#0F3065
RGBrgb(15, 48, 101)
HSLhsl(217, 74%, 23%)
HSVhsv(217, 85%, 40%)
CMYKcmyk(85.1%, 52.5%, 0%, 60.4%)
CIE-LABlab(20.65, 9.96, -34.60)
CIE-LCHlch(20.65, 36.00, 286.06°)
OKLaboklab(31.92% -0.0181 -0.0995)
OKLCHoklch(31.92% 0.101 259.7)
XYZxyz(3.6021, 3.1546, 12.7285)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3065 #65440F
analogous
#0F5B65 #0F3065 #190F65
triadic
#0F3065 #650F30 #30650F
tetradic
#0F3065 #650F5B #65440F #0F6519
square
#0F3065 #650F5B #65440F #0F6519
split-complementary
#0F3065 #65190F #5B650F
monochromatic
#040D1B #071730 #0F3065 #17499A #1F63D0

Accessibility & contrast

On white

12.88
#0F3065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#0F3065 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3065
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3065#FFFFFF#000000##FFFFFF
##0F30651.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103667
Deuteranopia (green-blind)
#002E64
Tritanopia (blue-blind)
#003D45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #0f3065;
/* rgb */ color: rgb(15, 48, 101);
/* oklch */ color: oklch(31.9% 0.101 259.7);
Tailwind
colors: {
  custom: {
    50: '#5d6791',
    500: '#0f3065',
    950: '#000000',
  },
}
SCSS
$custom: #0f3065;
$custom-light: #5d6791;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3065",
  "rgb": {
    "r": 15,
    "g": 48,
    "b": 101
  },
  "hsl": {
    "h": 216.977,
    "s": 74.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31917,
    "c": 0.10118,
    "h": 259.7
  },
  "luminance": 0.03155
}

Semantic roles & 50–950 ramp

primary
#0F3065
secondary
#9E7432
accent
#AA37F1
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05060D
muted
#797A7E

Preview Lab

Preview with #0F3065

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

Preview Lab → · Contrast checker → · Palette generator →

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