#2D30CA#2D30CA

#2D30CA is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.3% C 0.228 H 271.0°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#2D30CA
RGBrgb(45, 48, 202)
HSLhsl(239, 64%, 48%)
HSVhsv(239, 78%, 79%)
CMYKcmyk(77.7%, 76.2%, 0%, 20.8%)
CIE-LABlab(31.66, 50.84, -78.58)
CIE-LCHlch(31.66, 93.59, 302.90°)
OKLaboklab(43.25% 0.0039 -0.2275)
OKLCHoklch(43.25% 0.228 271)
XYZxyz(12.7962, 6.9346, 56.5298)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D30CA #CAC72D
analogous
#2D7ECA #2D30CA #792DCA
triadic
#2D30CA #CA2D30 #30CA2D
tetradic
#2D30CA #CA2D7E #CAC72D #2DCA79
square
#2D30CA #CA2D7E #CAC72D #2DCA79
split-complementary
#2D30CA #CA792D #7ECA2D
monochromatic
#171866 #222498 #2D30CA #5A5CDA #8C8EE5

Accessibility & contrast

On white

8.80
#2D30CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2D30CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D30CA
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D30CA#FFFFFF#000000##FFFFFF
##2D30CA1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CE
Deuteranopia (green-blind)
#0042C7
Tritanopia (blue-blind)
#005E7C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d30ca;
/* rgb */ color: rgb(45, 48, 202);
/* oklch */ color: oklch(43.3% 0.228 271.0);
Tailwind
colors: {
  custom: {
    50: '#816bdc',
    500: '#2d30ca',
    950: '#000000',
  },
}
SCSS
$custom: #2d30ca;
$custom-light: #816bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d30ca",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 202
  },
  "hsl": {
    "h": 238.854,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.43254,
    "c": 0.22756,
    "h": 271
  },
  "luminance": 0.06936
}

Semantic roles & 50–950 ramp

primary
#2D30CA
secondary
#CFCE83
accent
#E341E7
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2D30CA

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

Preview Lab → · Contrast checker → · Palette generator →

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