#282B94#282B94

#282B94 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.167 H 273.2°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#282B94
RGBrgb(40, 43, 148)
HSLhsl(238, 57%, 37%)
HSVhsv(238, 73%, 58%)
CMYKcmyk(73%, 70.9%, 0%, 42%)
CIE-LABlab(24.69, 35.01, -57.74)
CIE-LCHlch(24.69, 67.52, 301.23°)
OKLaboklab(36.54% 0.0094 -0.1669)
OKLCHoklch(36.54% 0.167 273.2)
XYZxyz(7.0825, 4.3163, 28.4711)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B94 #949128
analogous
#286194 #282B94 #5B2894
triadic
#282B94 #94282B #2B9428
tetradic
#282B94 #942861 #949128 #28945B
square
#282B94 #942861 #949128 #28945B
split-complementary
#282B94 #945B28 #619428
monochromatic
#0E0F34 #1B1D64 #282B94 #3539C4 #6265D5

Accessibility & contrast

On white

11.27
#282B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#282B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B94
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B94#FFFFFF#000000##FFFFFF
##282B941.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #282b94;
/* rgb */ color: rgb(40, 43, 148);
/* oklch */ color: oklch(36.5% 0.167 273.2);
Tailwind
colors: {
  custom: {
    50: '#7365b4',
    500: '#282b94',
    950: '#000000',
  },
}
SCSS
$custom: #282b94;
$custom-light: #7365b4;
$custom-dark: #000000;
JSON
{
  "hex": "#282b94",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 238.333,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36535,
    "c": 0.16721,
    "h": 273.2
  },
  "luminance": 0.04317
}

Semantic roles & 50–950 ramp

primary
#282B94
secondary
#BAB85E
accent
#DC47E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #282B94

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

Preview Lab → · Contrast checker → · Palette generator →

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