#2830A3#2830A3

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

Color values

HEX#2830A3
RGBrgb(40, 48, 163)
HSLhsl(236, 61%, 40%)
HSVhsv(236, 75%, 64%)
CMYKcmyk(75.5%, 70.6%, 0%, 36.1%)
CIE-LABlab(27.32, 37.22, -62.57)
CIE-LCHlch(27.32, 72.81, 300.75°)
OKLaboklab(38.88% 0.0045 -0.1811)
OKLCHoklch(38.88% 0.181 271.4)
XYZxyz(8.5406, 5.2085, 35.1985)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2830A3 #A39B28
analogous
#286DA3 #2830A3 #5E28A3
triadic
#2830A3 #A32830 #30A328
tetradic
#2830A3 #A3286D #A39B28 #28A35E
square
#2830A3 #A3286D #A39B28 #28A35E
split-complementary
#2830A3 #A35E28 #6DA328
monochromatic
#101341 #1C2272 #2830A3 #3A43CF #6B72DB

Accessibility & contrast

On white

10.29
#2830A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2830A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2830A3#FFFFFF#000000##FFFFFF
##2830A31.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A6
Deuteranopia (green-blind)
#003BA1
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2830a3;
/* rgb */ color: rgb(40, 48, 163);
/* oklch */ color: oklch(38.9% 0.181 271.4);
Tailwind
colors: {
  custom: {
    50: '#7669bf',
    500: '#2830a3',
    950: '#000000',
  },
}
SCSS
$custom: #2830a3;
$custom-light: #7669bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2830a3",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 163
  },
  "hsl": {
    "h": 236.098,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38881,
    "c": 0.18112,
    "h": 271.4
  },
  "luminance": 0.05209
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2830A3

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

Preview Lab → · Contrast checker → · Palette generator →

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