#284382#284382

#284382 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.7% C 0.111 H 264.5°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#284382
RGBrgb(40, 67, 130)
HSLhsl(222, 53%, 33%)
HSVhsv(222, 69%, 51%)
CMYKcmyk(69.2%, 48.5%, 0%, 49%)
CIE-LABlab(29.60, 12.11, -38.59)
CIE-LCHlch(29.60, 40.45, 287.42°)
OKLaboklab(39.73% -0.0107 -0.1105)
OKLCHoklch(39.73% 0.111 264.5)
XYZxyz(6.9101, 6.0765, 21.9235)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284382 #826728
analogous
#287082 #284382 #3A2882
triadic
#284382 #822843 #438228
tetradic
#284382 #822870 #826728 #28823A
square
#284382 #822870 #826728 #28823A
split-complementary
#284382 #823A28 #708228
monochromatic
#0B1324 #1A2B53 #284382 #365BB1 #597BCC

Accessibility & contrast

On white

9.48
#284382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#284382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284382
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284382#FFFFFF#000000##FFFFFF
##2843821.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234A84
Deuteranopia (green-blind)
#104281
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #284382;
/* rgb */ color: rgb(40, 67, 130);
/* oklch */ color: oklch(39.7% 0.111 264.5);
Tailwind
colors: {
  custom: {
    50: '#6d76a7',
    500: '#284382',
    950: '#000000',
  },
}
SCSS
$custom: #284382;
$custom-light: #6d76a7;
$custom-dark: #000000;
JSON
{
  "hex": "#284382",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 130
  },
  "hsl": {
    "h": 222,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39731,
    "c": 0.11101,
    "h": 264.5
  },
  "luminance": 0.06077
}

Semantic roles & 50–950 ramp

primary
#284382
secondary
#B19555
accent
#B14BDC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #284382

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

Preview Lab → · Contrast checker → · Palette generator →

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