#282A73#282A73

#282A73 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.123 H 276.2°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#282A73
RGBrgb(40, 42, 115)
HSLhsl(238, 48%, 30%)
HSVhsv(238, 65%, 45%)
CMYKcmyk(65.2%, 63.5%, 0%, 54.9%)
CIE-LABlab(21.37, 23.68, -42.42)
CIE-LCHlch(21.37, 48.58, 299.16°)
OKLaboklab(33.18% 0.0133 -0.1221)
OKLCHoklch(33.18% 0.123 276.2)
XYZxyz(4.7965, 3.3445, 16.6091)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A73 #737128
analogous
#284F73 #282A73 #4B2873
triadic
#282A73 #73282A #2A7328
tetradic
#282A73 #73284F #737128 #28734B
square
#282A73 #73284F #737128 #28734B
split-complementary
#282A73 #734B28 #4F7328
monochromatic
#080918 #181946 #282A73 #383BA0 #5255C3

Accessibility & contrast

On white

12.58
#282A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#282A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282A73
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A73#FFFFFF#000000##FFFFFF
##282A731.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #282a73;
/* rgb */ color: rgb(40, 42, 115);
/* oklch */ color: oklch(33.2% 0.123 276.2);
Tailwind
colors: {
  custom: {
    50: '#6b639c',
    500: '#282a73',
    950: '#000000',
  },
}
SCSS
$custom: #282a73;
$custom-light: #6b639c;
$custom-dark: #000000;
JSON
{
  "hex": "#282a73",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 238.4,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33176,
    "c": 0.12282,
    "h": 276.2
  },
  "luminance": 0.03345
}

Semantic roles & 50–950 ramp

primary
#282A73
secondary
#A5A352
accent
#D450D8
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #282A73

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

Preview Lab → · Contrast checker → · Palette generator →

#282A73 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva