#2D30BB#2D30BB

#2D30BB is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.6% C 0.210 H 271.8°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#2D30BB
RGBrgb(45, 48, 187)
HSLhsl(239, 61%, 45%)
HSVhsv(239, 76%, 73%)
CMYKcmyk(75.9%, 74.3%, 0%, 26.7%)
CIE-LABlab(30.06, 45.93, -72.41)
CIE-LCHlch(30.06, 85.75, 302.38°)
OKLaboklab(41.65% 0.0065 -0.2096)
OKLCHoklch(41.65% 0.21 271.8)
XYZxyz(11.1058, 6.2585, 47.6268)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D30BB #BBB82D
analogous
#2D77BB #2D30BB #712DBB
triadic
#2D30BB #BB2D30 #30BB2D
tetradic
#2D30BB #BB2D77 #BBB82D #2DBB71
square
#2D30BB #BB2D77 #BBB82D #2DBB71
split-complementary
#2D30BB #BB712D #77BB2D
monochromatic
#151758 #21238A #2D30BB #5053D5 #8284E1

Accessibility & contrast

On white

9.33
#2D30BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2D30BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D30BB
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D30BB#FFFFFF#000000##FFFFFF
##2D30BB1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBF
Deuteranopia (green-blind)
#0040B9
Tritanopia (blue-blind)
#005973
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d30bb;
/* rgb */ color: rgb(45, 48, 187);
/* oklch */ color: oklch(41.6% 0.210 271.8);
Tailwind
colors: {
  custom: {
    50: '#7e6ad1',
    500: '#2d30bb',
    950: '#000000',
  },
}
SCSS
$custom: #2d30bb;
$custom-light: #7e6ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d30bb",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 238.732,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.41647,
    "c": 0.20972,
    "h": 271.8
  },
  "luminance": 0.0626
}

Semantic roles & 50–950 ramp

primary
#2D30BB
secondary
#CAC87A
accent
#E143E4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2D30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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