#0F428E#0F428E

#0F428E is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.5% C 0.137 H 259.2°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#0F428E
RGBrgb(15, 66, 142)
HSLhsl(216, 81%, 31%)
HSVhsv(216, 89%, 56%)
CMYKcmyk(89.4%, 53.5%, 0%, 44.3%)
CIE-LABlab(29.29, 14.64, -46.58)
CIE-LCHlch(29.29, 48.82, 287.45°)
OKLaboklab(39.52% -0.0257 -0.1344)
OKLCHoklch(39.52% 0.137 259.2)
XYZxyz(7.0259, 5.9501, 26.3641)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F428E #8E5B0F
analogous
#0F818E #0F428E #1C0F8E
triadic
#0F428E #8E0F42 #428E0F
tetradic
#0F428E #8E0F81 #8E5B0F #0F8E1C
square
#0F428E #8E0F81 #8E5B0F #0F8E1C
split-complementary
#0F428E #8E1C0F #818E0F
monochromatic
#030F1F #092857 #0F428E #155CC5 #2E79E9

Accessibility & contrast

On white

9.59
#0F428E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#0F428E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F428E
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F428E#FFFFFF#000000##FFFFFF
##0F428E1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094B91
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f428e;
/* rgb */ color: rgb(15, 66, 142);
/* oklch */ color: oklch(39.5% 0.137 259.2);
Tailwind
colors: {
  custom: {
    50: '#6875b0',
    500: '#0f428e',
    950: '#000000',
  },
}
SCSS
$custom: #0f428e;
$custom-light: #6875b0;
$custom-dark: #000000;
JSON
{
  "hex": "#0f428e",
  "rgb": {
    "r": 15,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 215.906,
    "s": 80.892,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39516,
    "c": 0.13682,
    "h": 259.2
  },
  "luminance": 0.05951
}

Semantic roles & 50–950 ramp

primary
#0F428E
secondary
#C38A36
accent
#A731F7
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #0F428E

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

Preview Lab → · Contrast checker → · Palette generator →

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