#2830B4#2830B4

#2830B4 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.6% C 0.202 H 270.6°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#2830B4
RGBrgb(40, 48, 180)
HSLhsl(237, 64%, 43%)
HSVhsv(237, 78%, 71%)
CMYKcmyk(77.8%, 73.3%, 0%, 29.4%)
CIE-LABlab(29.05, 43.15, -69.92)
CIE-LCHlch(29.05, 82.17, 301.68°)
OKLaboklab(40.64% 0.0022 -0.2025)
OKLCHoklch(40.64% 0.202 270.6)
XYZxyz(10.1674, 5.8592, 43.7662)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2830B4 #B4AC28
analogous
#2876B4 #2830B4 #6628B4
triadic
#2830B4 #B42830 #30B428
tetradic
#2830B4 #B42876 #B4AC28 #28B466
square
#2830B4 #B42876 #B4AC28 #28B466
split-complementary
#2830B4 #B46628 #76B428
monochromatic
#121550 #1D2382 #2830B4 #444CD5 #767CE1

Accessibility & contrast

On white

9.67
#2830B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2830B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2830B4#FFFFFF#000000##FFFFFF
##2830B41.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#003EB2
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2830b4;
/* rgb */ color: rgb(40, 48, 180);
/* oklch */ color: oklch(40.6% 0.202 270.6);
Tailwind
colors: {
  custom: {
    50: '#7a69cc',
    500: '#2830b4',
    950: '#000000',
  },
}
SCSS
$custom: #2830b4;
$custom-light: #7a69cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2830b4",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 236.571,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40644,
    "c": 0.20249,
    "h": 270.6
  },
  "luminance": 0.0586
}

Semantic roles & 50–950 ramp

primary
#2830B4
secondary
#C8C370
accent
#DD41E7
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2830B4

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

Preview Lab → · Contrast checker → · Palette generator →

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