#2D30A6#2D30A6

#2D30A6 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.184 H 273.1°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#2D30A6
RGBrgb(45, 48, 166)
HSLhsl(239, 57%, 41%)
HSVhsv(239, 73%, 65%)
CMYKcmyk(72.9%, 71.1%, 0%, 34.9%)
CIE-LABlab(27.91, 38.79, -63.40)
CIE-LCHlch(27.91, 74.33, 301.46°)
OKLaboklab(39.47% 0.0098 -0.1834)
OKLCHoklch(39.47% 0.184 273.1)
XYZxyz(9.0198, 5.4241, 36.6406)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D30A6 #A6A32D
analogous
#2D6DA6 #2D30A6 #672DA6
triadic
#2D30A6 #A62D30 #30A62D
tetradic
#2D30A6 #A62D6D #A6A32D #2DA667
square
#2D30A6 #A62D6D #A6A32D #2DA667
split-complementary
#2D30A6 #A6672D #6DA62D
monochromatic
#131446 #202276 #2D30A6 #4447CC #7477D9

Accessibility & contrast

On white

10.07
#2D30A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2D30A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D30A6
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D30A6#FFFFFF#000000##FFFFFF
##2D30A61.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#003CA4
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d30a6;
/* rgb */ color: rgb(45, 48, 166);
/* oklch */ color: oklch(39.5% 0.184 273.1);
Tailwind
colors: {
  custom: {
    50: '#7969c2',
    500: '#2d30a6',
    950: '#000000',
  },
}
SCSS
$custom: #2d30a6;
$custom-light: #7969c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d30a6",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 166
  },
  "hsl": {
    "h": 238.512,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39474,
    "c": 0.18364,
    "h": 273.1
  },
  "luminance": 0.05425
}

Semantic roles & 50–950 ramp

primary
#2D30A6
secondary
#C1BF6E
accent
#DD47E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2D30A6

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

Preview Lab → · Contrast checker → · Palette generator →

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