#282FB3#282FB3

#282FB3 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.4% C 0.202 H 270.8°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#282FB3
RGBrgb(40, 47, 179)
HSLhsl(237, 63%, 43%)
HSVhsv(237, 78%, 70%)
CMYKcmyk(77.7%, 73.7%, 0%, 29.8%)
CIE-LABlab(28.74, 43.39, -69.84)
CIE-LCHlch(28.74, 82.23, 301.85°)
OKLaboklab(40.39% 0.0028 -0.2022)
OKLCHoklch(40.39% 0.202 270.8)
XYZxyz(10.0255, 5.7377, 43.2182)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282FB3 #B3AC28
analogous
#2875B3 #282FB3 #6628B3
triadic
#282FB3 #B3282F #2FB328
tetradic
#282FB3 #B32875 #B3AC28 #28B366
square
#282FB3 #B32875 #B3AC28 #28B366
split-complementary
#282FB3 #B36628 #75B328
monochromatic
#12154F #1D2281 #282FB3 #434BD5 #757BE0

Accessibility & contrast

On white

9.78
#282FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#282FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282FB3
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282FB3#FFFFFF#000000##FFFFFF
##282FB31.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #282fb3;
/* rgb */ color: rgb(40, 47, 179);
/* oklch */ color: oklch(40.4% 0.202 270.8);
Tailwind
colors: {
  custom: {
    50: '#7a69cb',
    500: '#282fb3',
    950: '#000000',
  },
}
SCSS
$custom: #282fb3;
$custom-light: #7a69cb;
$custom-dark: #000000;
JSON
{
  "hex": "#282fb3",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 236.978,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40389,
    "c": 0.20226,
    "h": 270.8
  },
  "luminance": 0.05739
}

Semantic roles & 50–950 ramp

primary
#282FB3
secondary
#C8C36F
accent
#DE41E6
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #282FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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