#284281#284281

#284281 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.4% C 0.111 H 264.9°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#284281
RGBrgb(40, 66, 129)
HSLhsl(222, 53%, 33%)
HSVhsv(222, 69%, 51%)
CMYKcmyk(69%, 48.8%, 0%, 49.4%)
CIE-LABlab(29.24, 12.41, -38.56)
CIE-LCHlch(29.24, 40.51, 287.84°)
OKLaboklab(39.43% -0.0098 -0.1104)
OKLCHoklch(39.43% 0.111 264.9)
XYZxyz(6.7844, 5.9319, 21.5521)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284281 #816728
analogous
#286E81 #284281 #3A2881
triadic
#284281 #812842 #428128
tetradic
#284281 #81286E #816728 #28813A
square
#284281 #81286E #816728 #28813A
split-complementary
#284281 #813A28 #6E8128
monochromatic
#0B1224 #1A2A52 #284281 #365AB0 #587ACB

Accessibility & contrast

On white

9.60
#284281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#284281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284281
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284281#FFFFFF#000000##FFFFFF
##2842811.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224983
Deuteranopia (green-blind)
#0F4180
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #284281;
/* rgb */ color: rgb(40, 66, 129);
/* oklch */ color: oklch(39.4% 0.111 264.9);
Tailwind
colors: {
  custom: {
    50: '#6d75a6',
    500: '#284281',
    950: '#000000',
  },
}
SCSS
$custom: #284281;
$custom-light: #6d75a6;
$custom-dark: #000000;
JSON
{
  "hex": "#284281",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 129
  },
  "hsl": {
    "h": 222.472,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39431,
    "c": 0.11084,
    "h": 264.9
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#284281
secondary
#B09554
accent
#B24CDC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #284281

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

Preview Lab → · Contrast checker → · Palette generator →

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