#284282#284282

#284282 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.5% C 0.112 H 265.0°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#284282
RGBrgb(40, 66, 130)
HSLhsl(223, 53%, 33%)
HSVhsv(223, 69%, 51%)
CMYKcmyk(69.2%, 49.2%, 0%, 49%)
CIE-LABlab(29.31, 12.79, -39.07)
CIE-LCHlch(29.31, 41.11, 288.13°)
OKLaboklab(39.5% -0.0097 -0.1119)
OKLCHoklch(39.5% 0.112 265)
XYZxyz(6.8511, 5.9586, 21.9038)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284282 #826828
analogous
#286F82 #284282 #3B2882
triadic
#284282 #822842 #428228
tetradic
#284282 #82286F #826828 #28823B
square
#284282 #82286F #826828 #28823B
split-complementary
#284282 #823B28 #6F8228
monochromatic
#0B1224 #1A2A53 #284282 #365AB1 #597ACC

Accessibility & contrast

On white

9.58
#284282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284282
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284282#FFFFFF#000000##FFFFFF
##2842821.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #284282;
/* rgb */ color: rgb(40, 66, 130);
/* oklch */ color: oklch(39.5% 0.112 265.0);
Tailwind
colors: {
  custom: {
    50: '#6d75a7',
    500: '#284282',
    950: '#000000',
  },
}
SCSS
$custom: #284282;
$custom-light: #6d75a7;
$custom-dark: #000000;
JSON
{
  "hex": "#284282",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 130
  },
  "hsl": {
    "h": 222.667,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39504,
    "c": 0.11233,
    "h": 265
  },
  "luminance": 0.05959
}

Semantic roles & 50–950 ramp

primary
#284282
secondary
#B19655
accent
#B24BDC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #284282

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

Preview Lab → · Contrast checker → · Palette generator →

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