#282770#282770

#282770 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.123 H 277.7°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#282770
RGBrgb(40, 39, 112)
HSLhsl(241, 48%, 30%)
HSVhsv(241, 65%, 44%)
CMYKcmyk(64.3%, 65.2%, 0%, 56.1%)
CIE-LABlab(20.33, 24.62, -42.20)
CIE-LCHlch(20.33, 48.85, 300.26°)
OKLaboklab(32.33% 0.0163 -0.1214)
OKLCHoklch(32.33% 0.123 277.7)
XYZxyz(4.5243, 3.0717, 15.6806)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282770 #6F7027
analogous
#274B70 #282770 #4D2770
triadic
#282770 #702827 #277028
tetradic
#282770 #70274B #6F7027 #27704D
square
#282770 #70274B #6F7027 #27704D
split-complementary
#282770 #704D27 #4B7027
monochromatic
#080817 #181743 #282770 #38379D #5150C2

Accessibility & contrast

On white

13.01
#282770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#282770 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282770
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282770#FFFFFF#000000##FFFFFF
##2827701.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#002E6F
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #282770;
/* rgb */ color: rgb(40, 39, 112);
/* oklch */ color: oklch(32.3% 0.123 277.7);
Tailwind
colors: {
  custom: {
    50: '#6b619a',
    500: '#282770',
    950: '#000000',
  },
}
SCSS
$custom: #282770;
$custom-light: #6b619a;
$custom-dark: #000000;
JSON
{
  "hex": "#282770",
  "rgb": {
    "r": 40,
    "g": 39,
    "b": 112
  },
  "hsl": {
    "h": 240.822,
    "s": 48.344,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32327,
    "c": 0.12254,
    "h": 277.7
  },
  "luminance": 0.03072
}

Semantic roles & 50–950 ramp

primary
#282770
secondary
#A1A250
accent
#D850D6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #282770

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

Preview Lab → · Contrast checker → · Palette generator →

#282770 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva