#284880#284880

#284880 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.7% C 0.102 H 260.8°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#284880
RGBrgb(40, 72, 128)
HSLhsl(218, 52%, 33%)
HSVhsv(218, 69%, 50%)
CMYKcmyk(68.8%, 43.8%, 0%, 49.8%)
CIE-LABlab(30.98, 7.94, -35.15)
CIE-LCHlch(30.98, 36.03, 282.74°)
OKLaboklab(40.75% -0.0163 -0.1003)
OKLCHoklch(40.75% 0.102 260.8)
XYZxyz(7.0873, 6.6437, 21.3267)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284880 #806028
analogous
#287480 #284880 #342880
triadic
#284880 #802848 #488028
tetradic
#284880 #802874 #806028 #288034
square
#284880 #802874 #806028 #288034
split-complementary
#284880 #803428 #748028
monochromatic
#0B1423 #192E51 #284880 #3762AF #5882CB

Accessibility & contrast

On white

9.02
#284880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#284880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284880
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284880#FFFFFF#000000##FFFFFF
##2848801.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D82
Deuteranopia (green-blind)
#20457F
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #284880;
/* rgb */ color: rgb(40, 72, 128);
/* oklch */ color: oklch(40.7% 0.102 260.8);
Tailwind
colors: {
  custom: {
    50: '#6c7aa5',
    500: '#284880',
    950: '#000000',
  },
}
SCSS
$custom: #284880;
$custom-light: #6c7aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#284880",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 128
  },
  "hsl": {
    "h": 218.182,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40749,
    "c": 0.1016,
    "h": 260.8
  },
  "luminance": 0.06644
}

Semantic roles & 50–950 ramp

primary
#284880
secondary
#B08E54
accent
#A84CDC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #284880

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

Preview Lab → · Contrast checker → · Palette generator →

#284880 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva