#2D30AE#2D30AE

#2D30AE is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.194 H 272.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#2D30AE
RGBrgb(45, 48, 174)
HSLhsl(239, 59%, 43%)
HSVhsv(239, 74%, 68%)
CMYKcmyk(74.1%, 72.4%, 0%, 31.8%)
CIE-LABlab(28.71, 41.55, -66.89)
CIE-LCHlch(28.71, 78.74, 301.84°)
OKLaboklab(40.29% 0.0086 -0.1935)
OKLCHoklch(40.29% 0.194 272.5)
XYZxyz(9.7766, 5.7268, 40.6263)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D30AE #AEAB2D
analogous
#2D70AE #2D30AE #6B2DAE
triadic
#2D30AE #AE2D30 #30AE2D
tetradic
#2D30AE #AE2D70 #AEAB2D #2DAE6B
square
#2D30AE #AE2D70 #AEAB2D #2DAE6B
split-complementary
#2D30AE #AE6B2D #70AE2D
monochromatic
#14154D #20237D #2D30AE #484CD0 #797BDC

Accessibility & contrast

On white

9.79
#2D30AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2D30AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D30AE
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D30AE#FFFFFF#000000##FFFFFF
##2D30AE1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#003DAC
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d30ae;
/* rgb */ color: rgb(45, 48, 174);
/* oklch */ color: oklch(40.3% 0.194 272.5);
Tailwind
colors: {
  custom: {
    50: '#7a69c7',
    500: '#2d30ae',
    950: '#000000',
  },
}
SCSS
$custom: #2d30ae;
$custom-light: #7a69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d30ae",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 238.605,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4029,
    "c": 0.19374,
    "h": 272.5
  },
  "luminance": 0.05728
}

Semantic roles & 50–950 ramp

primary
#2D30AE
secondary
#C4C372
accent
#DE46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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