#282F82#282F82

#282F82 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.138 H 273.4°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#282F82
RGBrgb(40, 47, 130)
HSLhsl(235, 53%, 33%)
HSVhsv(235, 69%, 51%)
CMYKcmyk(69.2%, 63.8%, 0%, 49%)
CIE-LABlab(23.98, 25.85, -47.69)
CIE-LCHlch(23.98, 54.25, 298.45°)
OKLaboklab(35.5% 0.0081 -0.1375)
OKLCHoklch(35.5% 0.138 273.4)
XYZxyz(5.9195, 4.0953, 21.5933)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F82 #827B28
analogous
#285C82 #282F82 #4E2882
triadic
#282F82 #82282F #2F8228
tetradic
#282F82 #82285C #827B28 #28824E
square
#282F82 #82285C #827B28 #28824E
split-complementary
#282F82 #824E28 #5C8228
monochromatic
#0B0D24 #1A1E53 #282F82 #3640B1 #5962CC

Accessibility & contrast

On white

11.54
#282F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282F82
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F82#FFFFFF#000000##FFFFFF
##282F821.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282f82;
/* rgb */ color: rgb(40, 47, 130);
/* oklch */ color: oklch(35.5% 0.138 273.4);
Tailwind
colors: {
  custom: {
    50: '#6e67a7',
    500: '#282f82',
    950: '#000000',
  },
}
SCSS
$custom: #282f82;
$custom-light: #6e67a7;
$custom-dark: #000000;
JSON
{
  "hex": "#282f82",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 235.333,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35505,
    "c": 0.13777,
    "h": 273.4
  },
  "luminance": 0.04096
}

Semantic roles & 50–950 ramp

primary
#282F82
secondary
#B1AA55
accent
#D14BDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #282F82

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

Preview Lab → · Contrast checker → · Palette generator →

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