#0F3066#0F3066

#0F3066 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.0% C 0.103 H 259.9°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#0F3066
RGBrgb(15, 48, 102)
HSLhsl(217, 74%, 23%)
HSVhsv(217, 85%, 40%)
CMYKcmyk(85.3%, 52.9%, 0%, 60%)
CIE-LABlab(20.73, 10.40, -35.13)
CIE-LCHlch(20.73, 36.63, 286.49°)
OKLaboklab(32% -0.018 -0.1011)
OKLCHoklch(32% 0.103 259.9)
XYZxyz(3.6514, 3.1743, 12.9881)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3066 #66450F
analogous
#0F5B66 #0F3066 #190F66
triadic
#0F3066 #660F30 #30660F
tetradic
#0F3066 #660F5B #66450F #0F6619
square
#0F3066 #660F5B #66450F #0F6619
split-complementary
#0F3066 #66190F #5B660F
monochromatic
#040D1B #071731 #0F3066 #17499B #1F62D1

Accessibility & contrast

On white

12.84
#0F3066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#0F3066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3066
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3066#FFFFFF#000000##FFFFFF
##0F30661.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3668
Deuteranopia (green-blind)
#002E65
Tritanopia (blue-blind)
#003D46
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #0f3066;
/* rgb */ color: rgb(15, 48, 102);
/* oklch */ color: oklch(32.0% 0.103 259.9);
Tailwind
colors: {
  custom: {
    50: '#5e6792',
    500: '#0f3066',
    950: '#000000',
  },
}
SCSS
$custom: #0f3066;
$custom-light: #5e6792;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3066",
  "rgb": {
    "r": 15,
    "g": 48,
    "b": 102
  },
  "hsl": {
    "h": 217.241,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32,
    "c": 0.10268,
    "h": 259.9
  },
  "luminance": 0.03175
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #0F3066

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

Preview Lab → · Contrast checker → · Palette generator →

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