#2D30C4#2D30C4

#2D30C4 is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.6% C 0.221 H 271.3°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#2D30C4
RGBrgb(45, 48, 196)
HSLhsl(239, 63%, 47%)
HSVhsv(239, 77%, 77%)
CMYKcmyk(77%, 75.5%, 0%, 23.1%)
CIE-LABlab(31.01, 48.89, -76.14)
CIE-LCHlch(31.01, 90.48, 302.71°)
OKLaboklab(42.61% 0.0049 -0.2204)
OKLCHoklch(42.61% 0.221 271.3)
XYZxyz(12.0996, 6.6560, 52.8609)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D30C4 #C4C12D
analogous
#2D7CC4 #2D30C4 #762DC4
triadic
#2D30C4 #C42D30 #30C42D
tetradic
#2D30C4 #C42D7C #C4C12D #2DC476
square
#2D30C4 #C42D7C #C4C12D #2DC476
split-complementary
#2D30C4 #C4762D #7CC42D
monochromatic
#161860 #222492 #2D30C4 #5659D8 #888AE4

Accessibility & contrast

On white

9.01
#2D30C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2D30C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D30C4
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D30C4#FFFFFF#000000##FFFFFF
##2D30C41.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C8
Deuteranopia (green-blind)
#0041C1
Tritanopia (blue-blind)
#005C78
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d30c4;
/* rgb */ color: rgb(45, 48, 196);
/* oklch */ color: oklch(42.6% 0.221 271.3);
Tailwind
colors: {
  custom: {
    50: '#806ad7',
    500: '#2d30c4',
    950: '#000000',
  },
}
SCSS
$custom: #2d30c4;
$custom-light: #806ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d30c4",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 196
  },
  "hsl": {
    "h": 238.808,
    "s": 62.656,
    "l": 47.255
  },
  "oklch": {
    "l": 0.42607,
    "c": 0.2205,
    "h": 271.3
  },
  "luminance": 0.06657
}

Semantic roles & 50–950 ramp

primary
#2D30C4
secondary
#CDCC80
accent
#E242E6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2D30C4

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

Preview Lab → · Contrast checker → · Palette generator →

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