#0F3062#0F3062

#0F3062 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.097 H 258.9°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#0F3062
RGBrgb(15, 48, 98)
HSLhsl(216, 73%, 22%)
HSVhsv(216, 85%, 38%)
CMYKcmyk(84.7%, 51%, 0%, 61.6%)
CIE-LABlab(20.43, 8.66, -33.00)
CIE-LCHlch(20.43, 34.12, 284.70°)
OKLaboklab(31.67% -0.0186 -0.0948)
OKLCHoklch(31.67% 0.097 258.9)
XYZxyz(3.4578, 3.0969, 11.9684)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3062 #62410F
analogous
#0F5962 #0F3062 #180F62
triadic
#0F3062 #620F30 #30620F
tetradic
#0F3062 #620F59 #62410F #0F6218
square
#0F3062 #620F59 #62410F #0F6218
split-complementary
#0F3062 #62180F #59620F
monochromatic
#040D1B #07162D #0F3062 #174A97 #1F64CC

Accessibility & contrast

On white

12.97
#0F3062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#0F3062 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3062
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3062#FFFFFF#000000##FFFFFF
##0F30621.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143564
Deuteranopia (green-blind)
#002E61
Tritanopia (blue-blind)
#003C44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0f3062;
/* rgb */ color: rgb(15, 48, 98);
/* oklch */ color: oklch(31.7% 0.097 258.9);
Tailwind
colors: {
  custom: {
    50: '#5d678f',
    500: '#0f3062',
    950: '#000000',
  },
}
SCSS
$custom: #0f3062;
$custom-light: #5d678f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3062",
  "rgb": {
    "r": 15,
    "g": 48,
    "b": 98
  },
  "hsl": {
    "h": 216.145,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31673,
    "c": 0.09665,
    "h": 258.9
  },
  "luminance": 0.03097
}

Semantic roles & 50–950 ramp

primary
#0F3062
secondary
#9B7132
accent
#A738F0
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #0F3062

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

Preview Lab → · Contrast checker → · Palette generator →

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