#282B8F#282B8F

#282B8F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.161 H 273.6°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#282B8F
RGBrgb(40, 43, 143)
HSLhsl(238, 56%, 36%)
HSVhsv(238, 72%, 56%)
CMYKcmyk(72%, 69.9%, 0%, 43.9%)
CIE-LABlab(24.20, 33.23, -55.46)
CIE-LCHlch(24.20, 64.65, 300.93°)
OKLaboklab(36.03% 0.01 -0.1603)
OKLCHoklch(36.03% 0.161 273.6)
XYZxyz(6.6952, 4.1614, 26.4317)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B8F #8F8C28
analogous
#285E8F #282B8F #58288F
triadic
#282B8F #8F282B #2B8F28
tetradic
#282B8F #8F285E #8F8C28 #288F58
square
#282B8F #8F285E #8F8C28 #288F58
split-complementary
#282B8F #8F5828 #5E8F28
monochromatic
#0D0E2F #1B1D5F #282B8F #3539BF #5F62D2

Accessibility & contrast

On white

11.46
#282B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#282B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B8F
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B8F#FFFFFF#000000##FFFFFF
##282B8F1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #282b8f;
/* rgb */ color: rgb(40, 43, 143);
/* oklch */ color: oklch(36.0% 0.161 273.6);
Tailwind
colors: {
  custom: {
    50: '#7265b1',
    500: '#282b8f',
    950: '#000000',
  },
}
SCSS
$custom: #282b8f;
$custom-light: #7265b1;
$custom-dark: #000000;
JSON
{
  "hex": "#282b8f",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 143
  },
  "hsl": {
    "h": 238.252,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3603,
    "c": 0.1606,
    "h": 273.6
  },
  "luminance": 0.04162
}

Semantic roles & 50–950 ramp

primary
#282B8F
secondary
#B8B55B
accent
#DB48E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #282B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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