#2830AA#2830AA

#2830AA is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.190 H 271.1°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#2830AA
RGBrgb(40, 48, 170)
HSLhsl(236, 62%, 41%)
HSVhsv(236, 76%, 67%)
CMYKcmyk(76.5%, 71.8%, 0%, 33.3%)
CIE-LABlab(28.02, 39.69, -65.64)
CIE-LCHlch(28.02, 76.71, 301.16°)
OKLaboklab(39.6% 0.0036 -0.19)
OKLCHoklch(39.6% 0.19 271.1)
XYZxyz(9.1853, 5.4663, 38.5934)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2830AA #AAA228
analogous
#2871AA #2830AA #6128AA
triadic
#2830AA #AA2830 #30AA28
tetradic
#2830AA #AA2871 #AAA228 #28AA61
square
#2830AA #AA2871 #AAA228 #28AA61
split-complementary
#2830AA #AA6128 #71AA28
monochromatic
#111447 #1C2278 #2830AA #3E47D2 #6F76DD

Accessibility & contrast

On white

10.03
#2830AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2830AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2830AA#FFFFFF#000000##FFFFFF
##2830AA1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#003CA8
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2830aa;
/* rgb */ color: rgb(40, 48, 170);
/* oklch */ color: oklch(39.6% 0.190 271.1);
Tailwind
colors: {
  custom: {
    50: '#7869c4',
    500: '#2830aa',
    950: '#000000',
  },
}
SCSS
$custom: #2830aa;
$custom-light: #7869c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2830aa",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 236.308,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39599,
    "c": 0.19003,
    "h": 271.1
  },
  "luminance": 0.05467
}

Semantic roles & 50–950 ramp

primary
#2830AA
secondary
#C4BE6A
accent
#DB43E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2830AA

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

Preview Lab → · Contrast checker → · Palette generator →

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