#0F3063#0F3063

#0F3063 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.098 H 259.2°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#0F3063
RGBrgb(15, 48, 99)
HSLhsl(216, 74%, 22%)
HSVhsv(216, 85%, 39%)
CMYKcmyk(84.8%, 51.5%, 0%, 61.2%)
CIE-LABlab(20.50, 9.09, -33.53)
CIE-LCHlch(20.50, 34.74, 285.17°)
OKLaboklab(31.75% -0.0185 -0.0964)
OKLCHoklch(31.75% 0.098 259.2)
XYZxyz(3.5053, 3.1159, 12.2186)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3063 #63420F
analogous
#0F5A63 #0F3063 #180F63
triadic
#0F3063 #630F30 #30630F
tetradic
#0F3063 #630F5A #63420F #0F6318
square
#0F3063 #630F5A #63420F #0F6318
split-complementary
#0F3063 #63180F #5A630F
monochromatic
#040D1B #07162E #0F3063 #174A98 #1F64CD

Accessibility & contrast

On white

12.94
#0F3063 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F3063
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3063#FFFFFF#000000##FFFFFF
##0F30631.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f3063;
/* rgb */ color: rgb(15, 48, 99);
/* oklch */ color: oklch(31.8% 0.098 259.2);
Tailwind
colors: {
  custom: {
    50: '#5d6790',
    500: '#0f3063',
    950: '#000000',
  },
}
SCSS
$custom: #0f3063;
$custom-light: #5d6790;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3063",
  "rgb": {
    "r": 15,
    "g": 48,
    "b": 99
  },
  "hsl": {
    "h": 216.429,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31754,
    "c": 0.09816,
    "h": 259.2
  },
  "luminance": 0.03116
}

Semantic roles & 50–950 ramp

primary
#0F3063
secondary
#9C7232
accent
#A837F0
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #0F3063

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

Preview Lab → · Contrast checker → · Palette generator →

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