#2D30BC#2D30BC

#2D30BC is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.8% C 0.211 H 271.7°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#2D30BC
RGBrgb(45, 48, 188)
HSLhsl(239, 61%, 46%)
HSVhsv(239, 76%, 74%)
CMYKcmyk(76.1%, 74.5%, 0%, 26.3%)
CIE-LABlab(30.16, 46.26, -72.83)
CIE-LCHlch(30.16, 86.28, 302.42°)
OKLaboklab(41.75% 0.0063 -0.2108)
OKLCHoklch(41.75% 0.211 271.7)
XYZxyz(11.2132, 6.3014, 48.1925)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D30BC #BCB92D
analogous
#2D77BC #2D30BC #712DBC
triadic
#2D30BC #BC2D30 #30BC2D
tetradic
#2D30BC #BC2D77 #BCB92D #2DBC71
square
#2D30BC #BC2D77 #BCB92D #2DBC71
split-complementary
#2D30BC #BC712D #77BC2D
monochromatic
#151759 #21238B #2D30BC #5154D5 #8284E1

Accessibility & contrast

On white

9.29
#2D30BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2D30BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D30BC
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D30BC#FFFFFF#000000##FFFFFF
##2D30BC1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#0040BA
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d30bc;
/* rgb */ color: rgb(45, 48, 188);
/* oklch */ color: oklch(41.8% 0.211 271.7);
Tailwind
colors: {
  custom: {
    50: '#7e6ad2',
    500: '#2d30bc',
    950: '#000000',
  },
}
SCSS
$custom: #2d30bc;
$custom-light: #7e6ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d30bc",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 238.741,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.41753,
    "c": 0.21094,
    "h": 271.7
  },
  "luminance": 0.06303
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D30BC

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

Preview Lab → · Contrast checker → · Palette generator →

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