#2D30B3#2D30B3

#2D30B3 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.8% C 0.200 H 272.2°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#2D30B3
RGBrgb(45, 48, 179)
HSLhsl(239, 60%, 44%)
HSVhsv(239, 75%, 70%)
CMYKcmyk(74.9%, 73.2%, 0%, 29.8%)
CIE-LABlab(29.22, 43.24, -69.04)
CIE-LCHlch(29.22, 81.46, 302.06°)
OKLaboklab(40.81% 0.0078 -0.1998)
OKLCHoklch(40.81% 0.2 272.2)
XYZxyz(10.2731, 5.9254, 43.2414)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D30B3 #B3B02D
analogous
#2D73B3 #2D30B3 #6D2DB3
triadic
#2D30B3 #B32D30 #30B32D
tetradic
#2D30B3 #B32D73 #B3B02D #2DB36D
square
#2D30B3 #B32D73 #B3B02D #2DB36D
split-complementary
#2D30B3 #B36D2D #73B32D
monochromatic
#141651 #212382 #2D30B3 #4B4ED2 #7C7EDE

Accessibility & contrast

On white

9.61
#2D30B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D30B3
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D30B3#FFFFFF#000000##FFFFFF
##2D30B31.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d30b3;
/* rgb */ color: rgb(45, 48, 179);
/* oklch */ color: oklch(40.8% 0.200 272.2);
Tailwind
colors: {
  custom: {
    50: '#7c6acb',
    500: '#2d30b3',
    950: '#000000',
  },
}
SCSS
$custom: #2d30b3;
$custom-light: #7c6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d30b3",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 238.657,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40808,
    "c": 0.19995,
    "h": 272.2
  },
  "luminance": 0.05926
}

Semantic roles & 50–950 ramp

primary
#2D30B3
secondary
#C7C575
accent
#DF45E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D30B3

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

Preview Lab → · Contrast checker → · Palette generator →

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