#2D30B8#2D30B8

#2D30B8 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.3% C 0.206 H 271.9°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#2D30B8
RGBrgb(45, 48, 184)
HSLhsl(239, 61%, 45%)
HSVhsv(239, 76%, 72%)
CMYKcmyk(75.5%, 73.9%, 0%, 27.8%)
CIE-LABlab(29.74, 44.93, -71.16)
CIE-LCHlch(29.74, 84.15, 302.27°)
OKLaboklab(41.33% 0.007 -0.206)
OKLCHoklch(41.33% 0.206 271.9)
XYZxyz(10.7880, 6.1313, 45.9530)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D30B8 #B8B52D
analogous
#2D76B8 #2D30B8 #6F2DB8
triadic
#2D30B8 #B82D30 #30B82D
tetradic
#2D30B8 #B82D76 #B8B52D #2DB86F
square
#2D30B8 #B82D76 #B8B52D #2DB86F
split-complementary
#2D30B8 #B86F2D #76B82D
monochromatic
#151656 #212387 #2D30B8 #4E51D4 #8082E0

Accessibility & contrast

On white

9.43
#2D30B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2D30B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D30B8
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D30B8#FFFFFF#000000##FFFFFF
##2D30B81.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBC
Deuteranopia (green-blind)
#003FB6
Tritanopia (blue-blind)
#005771
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d30b8;
/* rgb */ color: rgb(45, 48, 184);
/* oklch */ color: oklch(41.3% 0.206 271.9);
Tailwind
colors: {
  custom: {
    50: '#7d6acf',
    500: '#2d30b8',
    950: '#000000',
  },
}
SCSS
$custom: #2d30b8;
$custom-light: #7d6acf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d30b8",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 238.705,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41331,
    "c": 0.20608,
    "h": 271.9
  },
  "luminance": 0.06132
}

Semantic roles & 50–950 ramp

primary
#2D30B8
secondary
#C9C778
accent
#E044E4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2D30B8

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

Preview Lab → · Contrast checker → · Palette generator →

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