#2D30B4#2D30B4

#2D30B4 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 40.9% C 0.201 H 272.2°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#2D30B4
RGBrgb(45, 48, 180)
HSLhsl(239, 60%, 44%)
HSVhsv(239, 75%, 71%)
CMYKcmyk(75%, 73.3%, 0%, 29.4%)
CIE-LABlab(29.33, 43.58, -69.46)
CIE-LCHlch(29.33, 82.00, 302.10°)
OKLaboklab(40.91% 0.0077 -0.201)
OKLCHoklch(40.91% 0.201 272.2)
XYZxyz(10.3746, 5.9660, 43.7760)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D30B4 #B4B12D
analogous
#2D74B4 #2D30B4 #6E2DB4
triadic
#2D30B4 #B42D30 #30B42D
tetradic
#2D30B4 #B42D74 #B4B12D #2DB46E
square
#2D30B4 #B42D74 #B4B12D #2DB46E
split-complementary
#2D30B4 #B46E2D #74B42D
monochromatic
#151652 #212383 #2D30B4 #4C4FD2 #7D7FDE

Accessibility & contrast

On white

9.57
#2D30B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2D30B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D30B4
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D30B4#FFFFFF#000000##FFFFFF
##2D30B41.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#003EB2
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d30b4;
/* rgb */ color: rgb(45, 48, 180);
/* oklch */ color: oklch(40.9% 0.201 272.2);
Tailwind
colors: {
  custom: {
    50: '#7c6acc',
    500: '#2d30b4',
    950: '#000000',
  },
}
SCSS
$custom: #2d30b4;
$custom-light: #7c6acc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d30b4",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 238.667,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40912,
    "c": 0.20119,
    "h": 272.2
  },
  "luminance": 0.05967
}

Semantic roles & 50–950 ramp

primary
#2D30B4
secondary
#C7C576
accent
#E045E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2D30B4

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

Preview Lab → · Contrast checker → · Palette generator →

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