#2D30B9#2D30B9

#2D30B9 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.4% C 0.207 H 271.9°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#2D30B9
RGBrgb(45, 48, 185)
HSLhsl(239, 61%, 45%)
HSVhsv(239, 76%, 73%)
CMYKcmyk(75.7%, 74.1%, 0%, 27.5%)
CIE-LABlab(29.85, 45.26, -71.58)
CIE-LCHlch(29.85, 84.68, 302.31°)
OKLaboklab(41.44% 0.0068 -0.2072)
OKLCHoklch(41.44% 0.207 271.9)
XYZxyz(10.8931, 6.1734, 46.5070)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D30B9 #B9B62D
analogous
#2D76B9 #2D30B9 #702DB9
triadic
#2D30B9 #B92D30 #30B92D
tetradic
#2D30B9 #B92D76 #B9B62D #2DB970
square
#2D30B9 #B92D76 #B9B62D #2DB970
split-complementary
#2D30B9 #B9702D #76B92D
monochromatic
#151657 #212388 #2D30B9 #4F52D4 #8082E0

Accessibility & contrast

On white

9.40
#2D30B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2D30B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D30B9
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D30B9#FFFFFF#000000##FFFFFF
##2D30B91.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#003FB7
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d30b9;
/* rgb */ color: rgb(45, 48, 185);
/* oklch */ color: oklch(41.4% 0.207 271.9);
Tailwind
colors: {
  custom: {
    50: '#7d6acf',
    500: '#2d30b9',
    950: '#000000',
  },
}
SCSS
$custom: #2d30b9;
$custom-light: #7d6acf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d30b9",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 185
  },
  "hsl": {
    "h": 238.714,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41436,
    "c": 0.2073,
    "h": 271.9
  },
  "luminance": 0.06175
}

Semantic roles & 50–950 ramp

primary
#2D30B9
secondary
#C9C779
accent
#E144E4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2D30B9

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

Preview Lab → · Contrast checker → · Palette generator →

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