#2B30A3#2B30A3

#2B30A3 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.180 H 272.5°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#2B30A3
RGBrgb(43, 48, 163)
HSLhsl(238, 58%, 40%)
HSVhsv(238, 74%, 64%)
CMYKcmyk(73.6%, 70.6%, 0%, 36.1%)
CIE-LABlab(27.49, 37.53, -62.28)
CIE-LCHlch(27.49, 72.72, 301.08°)
OKLaboklab(39.05% 0.0079 -0.1801)
OKLCHoklch(39.05% 0.18 272.5)
XYZxyz(8.6618, 5.2710, 35.2041)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B30A3 #A39E2B
analogous
#2B6CA3 #2B30A3 #622BA3
triadic
#2B30A3 #A32B30 #30A32B
tetradic
#2B30A3 #A32B6C #A39E2B #2BA362
square
#2B30A3 #A32B6C #A39E2B #2BA362
split-complementary
#2B30A3 #A3622B #6CA32B
monochromatic
#111342 #1E2273 #2B30A3 #3F45CC #6F74D9

Accessibility & contrast

On white

10.22
#2B30A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2B30A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B30A3
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B30A3#FFFFFF#000000##FFFFFF
##2B30A31.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b30a3;
/* rgb */ color: rgb(43, 48, 163);
/* oklch */ color: oklch(39.1% 0.180 272.5);
Tailwind
colors: {
  custom: {
    50: '#7769bf',
    500: '#2b30a3',
    950: '#000000',
  },
}
SCSS
$custom: #2b30a3;
$custom-light: #7769bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b30a3",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 163
  },
  "hsl": {
    "h": 237.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39052,
    "c": 0.18032,
    "h": 272.5
  },
  "luminance": 0.05272
}

Semantic roles & 50–950 ramp

primary
#2B30A3
secondary
#C0BD6A
accent
#DB46E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B30A3

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

Preview Lab → · Contrast checker → · Palette generator →

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