#2B30A5#2B30A5

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

Color values

HEX#2B30A5
RGBrgb(43, 48, 165)
HSLhsl(238, 59%, 41%)
HSVhsv(238, 74%, 65%)
CMYKcmyk(73.9%, 70.9%, 0%, 35.3%)
CIE-LABlab(27.69, 38.24, -63.17)
CIE-LCHlch(27.69, 73.84, 301.19°)
OKLaboklab(39.25% 0.0076 -0.1827)
OKLCHoklch(39.25% 0.183 272.4)
XYZxyz(8.8425, 5.3432, 36.1553)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B30A5 #A5A02B
analogous
#2B6DA5 #2B30A5 #632BA5
triadic
#2B30A5 #A52B30 #30A52B
tetradic
#2B30A5 #A52B6D #A5A02B #2BA563
square
#2B30A5 #A52B6D #A5A02B #2BA563
split-complementary
#2B30A5 #A5632B #6DA52B
monochromatic
#121444 #1E2274 #2B30A5 #4046CD #7175DA

Accessibility & contrast

On white

10.15
#2B30A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2B30A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B30A5
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B30A5#FFFFFF#000000##FFFFFF
##2B30A51.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b30a5;
/* rgb */ color: rgb(43, 48, 165);
/* oklch */ color: oklch(39.3% 0.183 272.4);
Tailwind
colors: {
  custom: {
    50: '#7869c1',
    500: '#2b30a5',
    950: '#000000',
  },
}
SCSS
$custom: #2b30a5;
$custom-light: #7869c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b30a5",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 165
  },
  "hsl": {
    "h": 237.541,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39254,
    "c": 0.18289,
    "h": 272.4
  },
  "luminance": 0.05344
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B30A5

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

Preview Lab → · Contrast checker → · Palette generator →

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