#2D30A9#2D30A9

#2D30A9 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.187 H 272.9°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#2D30A9
RGBrgb(45, 48, 169)
HSLhsl(239, 58%, 42%)
HSVhsv(239, 73%, 66%)
CMYKcmyk(73.4%, 71.6%, 0%, 33.7%)
CIE-LABlab(28.21, 39.83, -64.72)
CIE-LCHlch(28.21, 76.00, 301.61°)
OKLaboklab(39.78% 0.0094 -0.1872)
OKLCHoklch(39.78% 0.187 272.9)
XYZxyz(9.2982, 5.5354, 38.1068)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D30A9 #A9A62D
analogous
#2D6EA9 #2D30A9 #682DA9
triadic
#2D30A9 #A92D30 #30A92D
tetradic
#2D30A9 #A92D6E #A9A62D #2DA968
square
#2D30A9 #A92D6E #A9A62D #2DA968
split-complementary
#2D30A9 #A9682D #6EA92D
monochromatic
#131548 #202279 #2D30A9 #4649CE #7678DA

Accessibility & contrast

On white

9.97
#2D30A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2D30A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D30A9
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D30A9#FFFFFF#000000##FFFFFF
##2D30A91.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003DA7
Tritanopia (blue-blind)
#005269
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d30a9;
/* rgb */ color: rgb(45, 48, 169);
/* oklch */ color: oklch(39.8% 0.187 272.9);
Tailwind
colors: {
  custom: {
    50: '#7969c4',
    500: '#2d30a9',
    950: '#000000',
  },
}
SCSS
$custom: #2d30a9;
$custom-light: #7969c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d30a9",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 169
  },
  "hsl": {
    "h": 238.548,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39778,
    "c": 0.18745,
    "h": 272.9
  },
  "luminance": 0.05536
}

Semantic roles & 50–950 ramp

primary
#2D30A9
secondary
#C2C06F
accent
#DD47E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D30A9

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

Preview Lab → · Contrast checker → · Palette generator →

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