#2D30C8#2D30C8

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

Color values

HEX#2D30C8
RGBrgb(45, 48, 200)
HSLhsl(239, 63%, 48%)
HSVhsv(239, 78%, 78%)
CMYKcmyk(77.5%, 76%, 0%, 21.6%)
CIE-LABlab(31.44, 50.19, -77.77)
CIE-LCHlch(31.44, 92.56, 302.84°)
OKLaboklab(43.04% 0.0042 -0.2252)
OKLCHoklch(43.04% 0.225 271.1)
XYZxyz(12.5609, 6.8405, 55.2907)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D30C8 #C8C52D
analogous
#2D7DC8 #2D30C8 #782DC8
triadic
#2D30C8 #C82D30 #30C82D
tetradic
#2D30C8 #C82D7D #C8C52D #2DC878
square
#2D30C8 #C82D7D #C8C52D #2DC878
split-complementary
#2D30C8 #C8782D #7DC82D
monochromatic
#171864 #222496 #2D30C8 #595BDA #8B8CE5

Accessibility & contrast

On white

8.87
#2D30C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2D30C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D30C8
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D30C8#FFFFFF#000000##FFFFFF
##2D30C81.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CC
Deuteranopia (green-blind)
#0042C5
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d30c8;
/* rgb */ color: rgb(45, 48, 200);
/* oklch */ color: oklch(43.0% 0.225 271.1);
Tailwind
colors: {
  custom: {
    50: '#816bda',
    500: '#2d30c8',
    950: '#000000',
  },
}
SCSS
$custom: #2d30c8;
$custom-light: #816bda;
$custom-dark: #000000;
JSON
{
  "hex": "#2d30c8",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 200
  },
  "hsl": {
    "h": 238.839,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.43038,
    "c": 0.22522,
    "h": 271.1
  },
  "luminance": 0.06842
}

Semantic roles & 50–950 ramp

primary
#2D30C8
secondary
#CFCD82
accent
#E341E6
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2D30C8

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

Preview Lab → · Contrast checker → · Palette generator →

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