#282C94#282C94

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

Color values

HEX#282C94
RGBrgb(40, 44, 148)
HSLhsl(238, 57%, 37%)
HSVhsv(238, 73%, 58%)
CMYKcmyk(73%, 70.3%, 0%, 42%)
CIE-LABlab(24.92, 34.38, -57.36)
CIE-LCHlch(24.92, 66.87, 300.94°)
OKLaboklab(36.7% 0.0088 -0.1658)
OKLCHoklch(36.7% 0.166 273)
XYZxyz(7.1193, 4.3899, 28.4834)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C94 #949028
analogous
#286294 #282C94 #5A2894
triadic
#282C94 #94282C #2C9428
tetradic
#282C94 #942862 #949028 #28945A
square
#282C94 #942862 #949028 #28945A
split-complementary
#282C94 #945A28 #629428
monochromatic
#0E0F34 #1B1E64 #282C94 #353AC4 #6266D5

Accessibility & contrast

On white

11.18
#282C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282C94
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C94#FFFFFF#000000##FFFFFF
##282C941.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #282c94;
/* rgb */ color: rgb(40, 44, 148);
/* oklch */ color: oklch(36.7% 0.166 273.0);
Tailwind
colors: {
  custom: {
    50: '#7366b4',
    500: '#282c94',
    950: '#000000',
  },
}
SCSS
$custom: #282c94;
$custom-light: #7366b4;
$custom-dark: #000000;
JSON
{
  "hex": "#282c94",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 237.778,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36701,
    "c": 0.16607,
    "h": 273
  },
  "luminance": 0.04391
}

Semantic roles & 50–950 ramp

primary
#282C94
secondary
#BAB75E
accent
#DB47E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #282C94

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

Preview Lab → · Contrast checker → · Palette generator →

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