#2D30B7#2D30B7

#2D30B7 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.2% C 0.205 H 272.0°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#2D30B7
RGBrgb(45, 48, 183)
HSLhsl(239, 61%, 45%)
HSVhsv(239, 75%, 72%)
CMYKcmyk(75.4%, 73.8%, 0%, 28.2%)
CIE-LABlab(29.64, 44.59, -70.73)
CIE-LCHlch(29.64, 83.61, 302.23°)
OKLaboklab(41.23% 0.0072 -0.2047)
OKLCHoklch(41.23% 0.205 272)
XYZxyz(10.6835, 6.0896, 45.4029)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D30B7 #B7B42D
analogous
#2D75B7 #2D30B7 #6F2DB7
triadic
#2D30B7 #B72D30 #30B72D
tetradic
#2D30B7 #B72D75 #B7B42D #2DB76F
square
#2D30B7 #B72D75 #B7B42D #2DB76F
split-complementary
#2D30B7 #B76F2D #75B72D
monochromatic
#151655 #212386 #2D30B7 #4E51D3 #7F81DF

Accessibility & contrast

On white

9.47
#2D30B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2D30B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D30B7
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D30B7#FFFFFF#000000##FFFFFF
##2D30B71.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d30b7;
/* rgb */ color: rgb(45, 48, 183);
/* oklch */ color: oklch(41.2% 0.205 272.0);
Tailwind
colors: {
  custom: {
    50: '#7d6ace',
    500: '#2d30b7',
    950: '#000000',
  },
}
SCSS
$custom: #2d30b7;
$custom-light: #7d6ace;
$custom-dark: #000000;
JSON
{
  "hex": "#2d30b7",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 238.696,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41226,
    "c": 0.20487,
    "h": 272
  },
  "luminance": 0.06091
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D30B7

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

Preview Lab → · Contrast checker → · Palette generator →

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