#2830A2#2830A2

#2830A2 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.180 H 271.5°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#2830A2
RGBrgb(40, 48, 162)
HSLhsl(236, 60%, 40%)
HSVhsv(236, 75%, 64%)
CMYKcmyk(75.3%, 70.4%, 0%, 36.5%)
CIE-LABlab(27.22, 36.87, -62.13)
CIE-LCHlch(27.22, 72.24, 300.69°)
OKLaboklab(38.78% 0.0046 -0.1798)
OKLCHoklch(38.78% 0.18 271.5)
XYZxyz(8.4514, 5.1728, 34.7284)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2830A2 #A29A28
analogous
#286DA2 #2830A2 #5D28A2
triadic
#2830A2 #A22830 #30A228
tetradic
#2830A2 #A2286D #A29A28 #28A25D
square
#2830A2 #A2286D #A29A28 #28A25D
split-complementary
#2830A2 #A25D28 #6DA228
monochromatic
#101340 #1C2171 #2830A2 #3943CE #6A72DA

Accessibility & contrast

On white

10.32
#2830A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2830A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2830A2#FFFFFF#000000##FFFFFF
##2830A21.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#003AA0
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2830a2;
/* rgb */ color: rgb(40, 48, 162);
/* oklch */ color: oklch(38.8% 0.180 271.5);
Tailwind
colors: {
  custom: {
    50: '#7669bf',
    500: '#2830a2',
    950: '#000000',
  },
}
SCSS
$custom: #2830a2;
$custom-light: #7669bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2830a2",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 236.066,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.3878,
    "c": 0.17983,
    "h": 271.5
  },
  "luminance": 0.05174
}

Semantic roles & 50–950 ramp

primary
#2830A2
secondary
#C1BB65
accent
#D944E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2830A2

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

Preview Lab → · Contrast checker → · Palette generator →

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