#28439F#28439F

#28439F is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.153 H 267.1°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#28439F
RGBrgb(40, 67, 159)
HSLhsl(226, 60%, 39%)
HSVhsv(226, 75%, 62%)
CMYKcmyk(74.8%, 57.9%, 0%, 37.6%)
CIE-LABlab(31.73, 23.31, -52.93)
CIE-LCHlch(31.73, 57.84, 293.77°)
OKLaboklab(42.02% -0.0078 -0.1527)
OKLCHoklch(42.02% 0.153 267.1)
XYZxyz(9.1381, 6.9676, 33.6575)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28439F #9F8428
analogous
#287F9F #28439F #49289F
triadic
#28439F #9F2843 #439F28
tetradic
#28439F #9F287F #9F8428 #289F49
square
#28439F #9F287F #9F8428 #289F49
split-complementary
#28439F #9F4928 #7F9F28
monochromatic
#0F1A3D #1C2E6E #28439F #3759CD #6882D9

Accessibility & contrast

On white

8.77
#28439F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#28439F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28439F
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28439F#FFFFFF#000000##FFFFFF
##28439F1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #28439f;
/* rgb */ color: rgb(40, 67, 159);
/* oklch */ color: oklch(42.0% 0.153 267.1);
Tailwind
colors: {
  custom: {
    50: '#7376bc',
    500: '#28439f',
    950: '#000000',
  },
}
SCSS
$custom: #28439f;
$custom-light: #7376bc;
$custom-dark: #000000;
JSON
{
  "hex": "#28439f",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 159
  },
  "hsl": {
    "h": 226.387,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4202,
    "c": 0.15286,
    "h": 267.1
  },
  "luminance": 0.06969
}

Semantic roles & 50–950 ramp

primary
#28439F
secondary
#BFAA64
accent
#BF45E3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #28439F

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

Preview Lab → · Contrast checker → · Palette generator →

#28439F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva