#0F428D#0F428D

#0F428D is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.4% C 0.135 H 259.0°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#0F428D
RGBrgb(15, 66, 141)
HSLhsl(216, 81%, 31%)
HSVhsv(216, 89%, 55%)
CMYKcmyk(89.4%, 53.2%, 0%, 44.7%)
CIE-LABlab(29.21, 14.22, -46.08)
CIE-LCHlch(29.21, 48.23, 287.15°)
OKLaboklab(39.43% -0.0258 -0.1329)
OKLCHoklch(39.43% 0.135 259)
XYZxyz(6.9512, 5.9202, 25.9705)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F428D #8D5A0F
analogous
#0F818D #0F428D #1B0F8D
triadic
#0F428D #8D0F42 #428D0F
tetradic
#0F428D #8D0F81 #8D5A0F #0F8D1B
square
#0F428D #8D0F81 #8D5A0F #0F8D1B
split-complementary
#0F428D #8D1B0F #818D0F
monochromatic
#030E1E #092856 #0F428D #155CC4 #2E79E9

Accessibility & contrast

On white

9.61
#0F428D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#0F428D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F428D
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F428D#FFFFFF#000000##FFFFFF
##0F428D1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4B90
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f428d;
/* rgb */ color: rgb(15, 66, 141);
/* oklch */ color: oklch(39.4% 0.135 259.0);
Tailwind
colors: {
  custom: {
    50: '#6875af',
    500: '#0f428d',
    950: '#000000',
  },
}
SCSS
$custom: #0f428d;
$custom-light: #6875af;
$custom-dark: #000000;
JSON
{
  "hex": "#0f428d",
  "rgb": {
    "r": 15,
    "g": 66,
    "b": 141
  },
  "hsl": {
    "h": 215.714,
    "s": 80.769,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39434,
    "c": 0.13542,
    "h": 259
  },
  "luminance": 0.05921
}

Semantic roles & 50–950 ramp

primary
#0F428D
secondary
#C28936
accent
#A731F7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #0F428D

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

Preview Lab → · Contrast checker → · Palette generator →

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