#2830A4#2830A4

#2830A4 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.182 H 271.4°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2830A4
RGBrgb(40, 48, 164)
HSLhsl(236, 61%, 40%)
HSVhsv(236, 76%, 64%)
CMYKcmyk(75.6%, 70.7%, 0%, 35.7%)
CIE-LABlab(27.42, 37.58, -63.01)
CIE-LCHlch(27.42, 73.37, 300.81°)
OKLaboklab(38.98% 0.0044 -0.1824)
OKLCHoklch(38.98% 0.182 271.4)
XYZxyz(8.6306, 5.2444, 35.6722)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2830A4 #A49C28
analogous
#286EA4 #2830A4 #5E28A4
triadic
#2830A4 #A42830 #30A428
tetradic
#2830A4 #A4286E #A49C28 #28A45E
square
#2830A4 #A4286E #A49C28 #28A45E
split-complementary
#2830A4 #A45E28 #6EA428
monochromatic
#101342 #1C2273 #2830A4 #3A44CF #6B73DB

Accessibility & contrast

On white

10.25
#2830A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2830A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2830A4#FFFFFF#000000##FFFFFF
##2830A41.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#003BA2
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2830a4;
/* rgb */ color: rgb(40, 48, 164);
/* oklch */ color: oklch(39.0% 0.182 271.4);
Tailwind
colors: {
  custom: {
    50: '#7669c0',
    500: '#2830a4',
    950: '#000000',
  },
}
SCSS
$custom: #2830a4;
$custom-light: #7669c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2830a4",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 236.129,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.38983,
    "c": 0.1824,
    "h": 271.4
  },
  "luminance": 0.05245
}

Semantic roles & 50–950 ramp

primary
#2830A4
secondary
#C1BC66
accent
#DA44E4
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2830A4

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

Preview Lab → · Contrast checker → · Palette generator →

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