#0F3072#0F3072

#0F3072 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.0% C 0.120 H 262.1°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#0F3072
RGBrgb(15, 48, 114)
HSLhsl(220, 77%, 25%)
HSVhsv(220, 87%, 45%)
CMYKcmyk(86.8%, 57.9%, 0%, 55.3%)
CIE-LABlab(21.69, 15.57, -41.33)
CIE-LCHlch(21.69, 44.16, 290.65°)
OKLaboklab(33.03% -0.0165 -0.1193)
OKLCHoklch(33.03% 0.12 262.1)
XYZxyz(4.2901, 3.4298, 16.3522)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3072 #72510F
analogous
#0F6172 #0F3072 #1F0F72
triadic
#0F3072 #720F30 #30720F
tetradic
#0F3072 #720F61 #72510F #0F721F
square
#0F3072 #720F61 #72510F #0F721F
split-complementary
#0F3072 #721F0F #61720F
monochromatic
#040B1B #08193C #0F3072 #1647A8 #1D5EDE

Accessibility & contrast

On white

12.46
#0F3072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#0F3072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3072
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3072#FFFFFF#000000##FFFFFF
##0F30721.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0f3072;
/* rgb */ color: rgb(15, 48, 114);
/* oklch */ color: oklch(33.0% 0.120 262.1);
Tailwind
colors: {
  custom: {
    50: '#61679b',
    500: '#0f3072',
    950: '#000000',
  },
}
SCSS
$custom: #0f3072;
$custom-light: #61679b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3072",
  "rgb": {
    "r": 15,
    "g": 48,
    "b": 114
  },
  "hsl": {
    "h": 220,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33035,
    "c": 0.12048,
    "h": 262.1
  },
  "luminance": 0.0343
}

Semantic roles & 50–950 ramp

primary
#0F3072
secondary
#AA8233
accent
#B435F3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #0F3072

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

Preview Lab → · Contrast checker → · Palette generator →

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