#282B97#282B97

#282B97 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.171 H 273.0°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#282B97
RGBrgb(40, 43, 151)
HSLhsl(238, 58%, 37%)
HSVhsv(238, 74%, 59%)
CMYKcmyk(73.5%, 71.5%, 0%, 40.8%)
CIE-LABlab(24.99, 36.07, -59.09)
CIE-LCHlch(24.99, 69.23, 301.40°)
OKLaboklab(36.84% 0.009 -0.1709)
OKLCHoklch(36.84% 0.171 273)
XYZxyz(7.3230, 4.4125, 29.7379)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B97 #979428
analogous
#286397 #282B97 #5C2897
triadic
#282B97 #97282B #2B9728
tetradic
#282B97 #972863 #979428 #28975C
square
#282B97 #972863 #979428 #28975C
split-complementary
#282B97 #975C28 #639728
monochromatic
#0E0F36 #1B1D67 #282B97 #3539C7 #6467D6

Accessibility & contrast

On white

11.15
#282B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#282B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B97
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B97#FFFFFF#000000##FFFFFF
##282B971.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003695
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #282b97;
/* rgb */ color: rgb(40, 43, 151);
/* oklch */ color: oklch(36.8% 0.171 273.0);
Tailwind
colors: {
  custom: {
    50: '#7465b7',
    500: '#282b97',
    950: '#000000',
  },
}
SCSS
$custom: #282b97;
$custom-light: #7465b7;
$custom-dark: #000000;
JSON
{
  "hex": "#282b97",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 238.378,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36842,
    "c": 0.17113,
    "h": 273
  },
  "luminance": 0.04413
}

Semantic roles & 50–950 ramp

primary
#282B97
secondary
#BCB95F
accent
#DD46E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #282B97

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

Preview Lab → · Contrast checker → · Palette generator →

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