#2D30B5#2D30B5

#2D30B5 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.0% C 0.202 H 272.1°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#2D30B5
RGBrgb(45, 48, 181)
HSLhsl(239, 60%, 44%)
HSVhsv(239, 75%, 71%)
CMYKcmyk(75.1%, 73.5%, 0%, 29%)
CIE-LABlab(29.43, 43.92, -69.89)
CIE-LCHlch(29.43, 82.54, 302.15°)
OKLaboklab(41.02% 0.0075 -0.2023)
OKLCHoklch(41.02% 0.202 272.1)
XYZxyz(10.4768, 6.0069, 44.3144)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D30B5 #B5B22D
analogous
#2D74B5 #2D30B5 #6E2DB5
triadic
#2D30B5 #B52D30 #30B52D
tetradic
#2D30B5 #B52D74 #B5B22D #2DB56E
square
#2D30B5 #B52D74 #B5B22D #2DB56E
split-complementary
#2D30B5 #B56E2D #74B52D
monochromatic
#151653 #212384 #2D30B5 #4D50D3 #7E80DF

Accessibility & contrast

On white

9.54
#2D30B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2D30B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D30B5
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D30B5#FFFFFF#000000##FFFFFF
##2D30B51.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB9
Deuteranopia (green-blind)
#003FB3
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d30b5;
/* rgb */ color: rgb(45, 48, 181);
/* oklch */ color: oklch(41.0% 0.202 272.1);
Tailwind
colors: {
  custom: {
    50: '#7c6acc',
    500: '#2d30b5',
    950: '#000000',
  },
}
SCSS
$custom: #2d30b5;
$custom-light: #7c6acc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d30b5",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 238.676,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41016,
    "c": 0.20241,
    "h": 272.1
  },
  "luminance": 0.06008
}

Semantic roles & 50–950 ramp

primary
#2D30B5
secondary
#C7C676
accent
#E044E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2D30B5

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

Preview Lab → · Contrast checker → · Palette generator →

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