#282F80#282F80

#282F80 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.135 H 273.5°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#282F80
RGBrgb(40, 47, 128)
HSLhsl(235, 52%, 33%)
HSVhsv(235, 69%, 50%)
CMYKcmyk(68.8%, 63.3%, 0%, 49.8%)
CIE-LABlab(23.81, 25.10, -46.72)
CIE-LCHlch(23.81, 53.04, 298.25°)
OKLaboklab(35.32% 0.0082 -0.1347)
OKLCHoklch(35.32% 0.135 273.5)
XYZxyz(5.7866, 4.0421, 20.8932)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F80 #807928
analogous
#285B80 #282F80 #4D2880
triadic
#282F80 #80282F #2F8028
tetradic
#282F80 #80285B #807928 #28804D
square
#282F80 #80285B #807928 #28804D
split-complementary
#282F80 #804D28 #5B8028
monochromatic
#0B0D23 #191E51 #282F80 #3740AF #5861CB

Accessibility & contrast

On white

11.61
#282F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#282F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282F80
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F80#FFFFFF#000000##FFFFFF
##282F801.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D83
Deuteranopia (green-blind)
#00357E
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #282f80;
/* rgb */ color: rgb(40, 47, 128);
/* oklch */ color: oklch(35.3% 0.135 273.5);
Tailwind
colors: {
  custom: {
    50: '#6e67a6',
    500: '#282f80',
    950: '#000000',
  },
}
SCSS
$custom: #282f80;
$custom-light: #6e67a6;
$custom-dark: #000000;
JSON
{
  "hex": "#282f80",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 235.227,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35322,
    "c": 0.13491,
    "h": 273.5
  },
  "luminance": 0.04043
}

Semantic roles & 50–950 ramp

primary
#282F80
secondary
#B0A854
accent
#D04CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #282F80

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

Preview Lab → · Contrast checker → · Palette generator →

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