#282F85#282F85

#282F85 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.142 H 273.2°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#282F85
RGBrgb(40, 47, 133)
HSLhsl(235, 54%, 34%)
HSVhsv(235, 70%, 52%)
CMYKcmyk(69.9%, 64.7%, 0%, 47.8%)
CIE-LABlab(24.25, 26.96, -49.14)
CIE-LCHlch(24.25, 56.05, 298.75°)
OKLaboklab(35.78% 0.008 -0.1418)
OKLCHoklch(35.78% 0.142 273.2)
XYZxyz(6.1238, 4.1770, 22.6693)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F85 #857E28
analogous
#285E85 #282F85 #502885
triadic
#282F85 #85282F #2F8528
tetradic
#282F85 #85285E #857E28 #288550
square
#282F85 #85285E #857E28 #288550
split-complementary
#282F85 #855028 #5E8528
monochromatic
#0C0E27 #1A1E56 #282F85 #3640B4 #5A63CD

Accessibility & contrast

On white

11.44
#282F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#282F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282F85
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F85#FFFFFF#000000##FFFFFF
##282F851.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003583
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #282f85;
/* rgb */ color: rgb(40, 47, 133);
/* oklch */ color: oklch(35.8% 0.142 273.2);
Tailwind
colors: {
  custom: {
    50: '#6f67a9',
    500: '#282f85',
    950: '#000000',
  },
}
SCSS
$custom: #282f85;
$custom-light: #6f67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#282f85",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 235.484,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35781,
    "c": 0.142,
    "h": 273.2
  },
  "luminance": 0.04178
}

Semantic roles & 50–950 ramp

primary
#282F85
secondary
#B3AC56
accent
#D24BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #282F85

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

Preview Lab → · Contrast checker → · Palette generator →

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