#2D30E2#2D30E2

#2D30E2 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.9% C 0.255 H 269.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#2D30E2
RGBrgb(45, 48, 226)
HSLhsl(239, 76%, 53%)
HSVhsv(239, 80%, 89%)
CMYKcmyk(80.1%, 78.8%, 0%, 11.4%)
CIE-LABlab(34.32, 58.40, -88.03)
CIE-LCHlch(34.32, 105.65, 303.56°)
OKLaboklab(45.89% -0.0005 -0.2549)
OKLCHoklch(45.89% 0.255 269.9)
XYZxyz(15.8619, 8.1609, 72.6760)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D30E2 #E2DF2D
analogous
#2D8AE2 #2D30E2 #852DE2
triadic
#2D30E2 #E22D30 #30E22D
tetradic
#2D30E2 #E22D8A #E2DF2D #2DE285
square
#2D30E2 #E22D8A #E2DF2D #2DE285
split-complementary
#2D30E2 #E2852D #8AE22D
monochromatic
#121483 #191CB8 #2D30E2 #6365E9 #999AF1

Accessibility & contrast

On white

7.98
#2D30E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2D30E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D30E2
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D30E2#FFFFFF#000000##FFFFFF
##2D30E21.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE7
Deuteranopia (green-blind)
#0047DF
Tritanopia (blue-blind)
#006889
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d30e2;
/* rgb */ color: rgb(45, 48, 226);
/* oklch */ color: oklch(45.9% 0.255 269.9);
Tailwind
colors: {
  custom: {
    50: '#876ced',
    500: '#2d30e2',
    950: '#000000',
  },
}
SCSS
$custom: #2d30e2;
$custom-light: #876ced;
$custom-dark: #000000;
JSON
{
  "hex": "#2d30e2",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 226
  },
  "hsl": {
    "h": 239.006,
    "s": 75.732,
    "l": 53.137
  },
  "oklch": {
    "l": 0.45894,
    "c": 0.25494,
    "h": 269.9
  },
  "luminance": 0.08163
}

Semantic roles & 50–950 ramp

primary
#2D30E2
secondary
#DCDB8E
accent
#EF35F2
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #2D30E2

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

Preview Lab → · Contrast checker → · Palette generator →

#2D30E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva