#282B98#282B98

#282B98 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.172 H 272.9°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#282B98
RGBrgb(40, 43, 152)
HSLhsl(238, 58%, 38%)
HSVhsv(238, 74%, 60%)
CMYKcmyk(73.7%, 71.7%, 0%, 40.4%)
CIE-LABlab(25.09, 36.43, -59.54)
CIE-LCHlch(25.09, 69.80, 301.46°)
OKLaboklab(36.95% 0.0088 -0.1722)
OKLCHoklch(36.95% 0.172 272.9)
XYZxyz(7.4045, 4.4451, 30.1674)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B98 #989528
analogous
#286398 #282B98 #5D2898
triadic
#282B98 #98282B #2B9828
tetradic
#282B98 #982863 #989528 #28985D
square
#282B98 #982863 #989528 #28985D
split-complementary
#282B98 #985D28 #639828
monochromatic
#0F1037 #1B1D68 #282B98 #3539C8 #6467D6

Accessibility & contrast

On white

11.12
#282B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#282B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B98
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B98#FFFFFF#000000##FFFFFF
##282B981.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419B
Deuteranopia (green-blind)
#003696
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #282b98;
/* rgb */ color: rgb(40, 43, 152);
/* oklch */ color: oklch(36.9% 0.172 272.9);
Tailwind
colors: {
  custom: {
    50: '#7465b7',
    500: '#282b98',
    950: '#000000',
  },
}
SCSS
$custom: #282b98;
$custom-light: #7465b7;
$custom-dark: #000000;
JSON
{
  "hex": "#282b98",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 238.393,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36945,
    "c": 0.17242,
    "h": 272.9
  },
  "luminance": 0.04446
}

Semantic roles & 50–950 ramp

primary
#282B98
secondary
#BCBA60
accent
#DD46E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #282B98

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

Preview Lab → · Contrast checker → · Palette generator →

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