#2830A0#2830A0

#2830A0 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.177 H 271.6°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#2830A0
RGBrgb(40, 48, 160)
HSLhsl(236, 60%, 39%)
HSVhsv(236, 75%, 63%)
CMYKcmyk(75%, 70%, 0%, 37.3%)
CIE-LABlab(27.02, 36.16, -61.24)
CIE-LCHlch(27.02, 71.12, 300.56°)
OKLaboklab(38.58% 0.0049 -0.1772)
OKLCHoklch(38.58% 0.177 271.6)
XYZxyz(8.2750, 5.1022, 33.7996)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2830A0 #A09828
analogous
#286CA0 #2830A0 #5C28A0
triadic
#2830A0 #A02830 #30A028
tetradic
#2830A0 #A0286C #A09828 #28A05C
square
#2830A0 #A0286C #A09828 #28A05C
split-complementary
#2830A0 #A05C28 #6CA028
monochromatic
#10133E #1C216F #2830A0 #3842CD #6970D9

Accessibility & contrast

On white

10.39
#2830A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2830A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2830A0
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2830A0#FFFFFF#000000##FFFFFF
##2830A01.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#003A9E
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2830a0;
/* rgb */ color: rgb(40, 48, 160);
/* oklch */ color: oklch(38.6% 0.177 271.6);
Tailwind
colors: {
  custom: {
    50: '#7569bd',
    500: '#2830a0',
    950: '#000000',
  },
}
SCSS
$custom: #2830a0;
$custom-light: #7569bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2830a0",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 160
  },
  "hsl": {
    "h": 236,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38578,
    "c": 0.17725,
    "h": 271.6
  },
  "luminance": 0.05103
}

Semantic roles & 50–950 ramp

primary
#2830A0
secondary
#C0BA64
accent
#D945E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2830A0

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

Preview Lab → · Contrast checker → · Palette generator →

#2830A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva