#2830AE#2830AE

#2830AE is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.195 H 270.9°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#2830AE
RGBrgb(40, 48, 174)
HSLhsl(236, 63%, 42%)
HSVhsv(236, 77%, 68%)
CMYKcmyk(77%, 72.4%, 0%, 31.8%)
CIE-LABlab(28.43, 41.08, -67.36)
CIE-LCHlch(28.43, 78.90, 301.38°)
OKLaboklab(40.01% 0.0031 -0.195)
OKLCHoklch(40.01% 0.195 270.9)
XYZxyz(9.5694, 5.6200, 40.6166)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2830AE #AEA628
analogous
#2873AE #2830AE #6328AE
triadic
#2830AE #AE2830 #30AE28
tetradic
#2830AE #AE2873 #AEA628 #28AE63
square
#2830AE #AE2873 #AEA628 #28AE63
split-complementary
#2830AE #AE6328 #73AE28
monochromatic
#11154A #1D227C #2830AE #4049D3 #7278DF

Accessibility & contrast

On white

9.89
#2830AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2830AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2830AE#FFFFFF#000000##FFFFFF
##2830AE1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#003CAC
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2830ae;
/* rgb */ color: rgb(40, 48, 174);
/* oklch */ color: oklch(40.0% 0.195 270.9);
Tailwind
colors: {
  custom: {
    50: '#7969c7',
    500: '#2830ae',
    950: '#000000',
  },
}
SCSS
$custom: #2830ae;
$custom-light: #7969c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2830ae",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 236.418,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40014,
    "c": 0.19505,
    "h": 270.9
  },
  "luminance": 0.05621
}

Semantic roles & 50–950 ramp

primary
#2830AE
secondary
#C6C06C
accent
#DC42E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2830AE

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

Preview Lab → · Contrast checker → · Palette generator →

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