#2D30C7#2D30C7

#2D30C7 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.9% C 0.224 H 271.1°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#2D30C7
RGBrgb(45, 48, 199)
HSLhsl(239, 63%, 48%)
HSVhsv(239, 77%, 78%)
CMYKcmyk(77.4%, 75.9%, 0%, 22%)
CIE-LABlab(31.33, 49.87, -77.36)
CIE-LCHlch(31.33, 92.04, 302.81°)
OKLaboklab(42.93% 0.0044 -0.224)
OKLCHoklch(42.93% 0.224 271.1)
XYZxyz(12.4445, 6.7939, 54.6773)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D30C7 #C7C42D
analogous
#2D7DC7 #2D30C7 #772DC7
triadic
#2D30C7 #C72D30 #30C72D
tetradic
#2D30C7 #C72D7D #C7C42D #2DC777
square
#2D30C7 #C72D7D #C7C42D #2DC777
split-complementary
#2D30C7 #C7772D #7DC72D
monochromatic
#161863 #222495 #2D30C7 #585AD9 #8A8CE5

Accessibility & contrast

On white

8.90
#2D30C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2D30C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D30C7
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D30C7#FFFFFF#000000##FFFFFF
##2D30C71.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CB
Deuteranopia (green-blind)
#0042C4
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d30c7;
/* rgb */ color: rgb(45, 48, 199);
/* oklch */ color: oklch(42.9% 0.224 271.1);
Tailwind
colors: {
  custom: {
    50: '#806bd9',
    500: '#2d30c7',
    950: '#000000',
  },
}
SCSS
$custom: #2d30c7;
$custom-light: #806bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d30c7",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 199
  },
  "hsl": {
    "h": 238.831,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4293,
    "c": 0.22404,
    "h": 271.1
  },
  "luminance": 0.06795
}

Semantic roles & 50–950 ramp

primary
#2D30C7
secondary
#CECD81
accent
#E342E6
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2D30C7

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

Preview Lab → · Contrast checker → · Palette generator →

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