#282F83#282F83

#282F83 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.139 H 273.3°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#282F83
RGBrgb(40, 47, 131)
HSLhsl(235, 53%, 34%)
HSVhsv(235, 69%, 51%)
CMYKcmyk(69.5%, 64.1%, 0%, 48.6%)
CIE-LABlab(24.07, 26.22, -48.18)
CIE-LCHlch(24.07, 54.85, 298.56°)
OKLaboklab(35.6% 0.0081 -0.1389)
OKLCHoklch(35.6% 0.139 273.3)
XYZxyz(5.9870, 4.1223, 21.9485)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F83 #837C28
analogous
#285C83 #282F83 #4E2883
triadic
#282F83 #83282F #2F8328
tetradic
#282F83 #83285C #837C28 #28834E
square
#282F83 #83285C #837C28 #28834E
split-complementary
#282F83 #834E28 #5C8328
monochromatic
#0B0D25 #1A1E54 #282F83 #3640B2 #5962CC

Accessibility & contrast

On white

11.51
#282F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#282F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282F83
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F83#FFFFFF#000000##FFFFFF
##282F831.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #282f83;
/* rgb */ color: rgb(40, 47, 131);
/* oklch */ color: oklch(35.6% 0.139 273.3);
Tailwind
colors: {
  custom: {
    50: '#6e67a8',
    500: '#282f83',
    950: '#000000',
  },
}
SCSS
$custom: #282f83;
$custom-light: #6e67a8;
$custom-dark: #000000;
JSON
{
  "hex": "#282f83",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 235.385,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35596,
    "c": 0.13918,
    "h": 273.3
  },
  "luminance": 0.04123
}

Semantic roles & 50–950 ramp

primary
#282F83
secondary
#B1AA55
accent
#D14BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #282F83

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

Preview Lab → · Contrast checker → · Palette generator →

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