#0F3068#0F3068

#0F3068 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.106 H 260.4°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#0F3068
RGBrgb(15, 48, 104)
HSLhsl(218, 75%, 23%)
HSVhsv(218, 86%, 41%)
CMYKcmyk(85.6%, 53.8%, 0%, 59.2%)
CIE-LABlab(20.88, 11.26, -36.18)
CIE-LCHlch(20.88, 37.89, 287.29°)
OKLaboklab(32.17% -0.0177 -0.1042)
OKLCHoklch(32.17% 0.106 260.4)
XYZxyz(3.7517, 3.2145, 13.5167)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3068 #68470F
analogous
#0F5C68 #0F3068 #1A0F68
triadic
#0F3068 #680F30 #30680F
tetradic
#0F3068 #680F5C #68470F #0F681A
square
#0F3068 #680F5C #68470F #0F681A
split-complementary
#0F3068 #681A0F #5C680F
monochromatic
#040C1B #071733 #0F3068 #17499D #1E61D3

Accessibility & contrast

On white

12.78
#0F3068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F3068
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3068#FFFFFF#000000##FFFFFF
##0F30681.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B366A
Deuteranopia (green-blind)
#002E67
Tritanopia (blue-blind)
#003E47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #0f3068;
/* rgb */ color: rgb(15, 48, 104);
/* oklch */ color: oklch(32.2% 0.106 260.4);
Tailwind
colors: {
  custom: {
    50: '#5e6794',
    500: '#0f3068',
    950: '#000000',
  },
}
SCSS
$custom: #0f3068;
$custom-light: #5e6794;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3068",
  "rgb": {
    "r": 15,
    "g": 48,
    "b": 104
  },
  "hsl": {
    "h": 217.753,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32167,
    "c": 0.10569,
    "h": 260.4
  },
  "luminance": 0.03215
}

Semantic roles & 50–950 ramp

primary
#0F3068
secondary
#A17832
accent
#AC36F1
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05060D
muted
#797A7E

Preview Lab

Preview with #0F3068

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

Preview Lab → · Contrast checker → · Palette generator →

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