#2B30A4#2B30A4

#2B30A4 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.182 H 272.4°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#2B30A4
RGBrgb(43, 48, 164)
HSLhsl(238, 58%, 41%)
HSVhsv(238, 74%, 64%)
CMYKcmyk(73.8%, 70.7%, 0%, 35.7%)
CIE-LABlab(27.59, 37.89, -62.72)
CIE-LCHlch(27.59, 73.28, 301.13°)
OKLaboklab(39.15% 0.0078 -0.1814)
OKLCHoklch(39.15% 0.182 272.4)
XYZxyz(8.7518, 5.3069, 35.6779)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B30A4 #A49F2B
analogous
#2B6CA4 #2B30A4 #632BA4
triadic
#2B30A4 #A42B30 #30A42B
tetradic
#2B30A4 #A42B6C #A49F2B #2BA463
square
#2B30A4 #A42B6C #A49F2B #2BA463
split-complementary
#2B30A4 #A4632B #6CA42B
monochromatic
#121443 #1E2274 #2B30A4 #3F45CD #7074D9

Accessibility & contrast

On white

10.19
#2B30A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2B30A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B30A4
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B30A4#FFFFFF#000000##FFFFFF
##2B30A41.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#003BA2
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b30a4;
/* rgb */ color: rgb(43, 48, 164);
/* oklch */ color: oklch(39.2% 0.182 272.4);
Tailwind
colors: {
  custom: {
    50: '#7769c0',
    500: '#2b30a4',
    950: '#000000',
  },
}
SCSS
$custom: #2b30a4;
$custom-light: #7769c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b30a4",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 237.521,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39153,
    "c": 0.18161,
    "h": 272.4
  },
  "luminance": 0.05308
}

Semantic roles & 50–950 ramp

primary
#2B30A4
secondary
#C1BD6A
accent
#DB46E2
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B30A4

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

Preview Lab → · Contrast checker → · Palette generator →

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