#2B30CA#2B30CA

#2B30CA is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.2% C 0.228 H 270.4°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#2B30CA
RGBrgb(43, 48, 202)
HSLhsl(238, 65%, 48%)
HSVhsv(238, 79%, 79%)
CMYKcmyk(78.7%, 76.2%, 0%, 20.8%)
CIE-LABlab(31.56, 50.71, -78.75)
CIE-LCHlch(31.56, 93.66, 302.78°)
OKLaboklab(43.15% 0.0018 -0.2281)
OKLCHoklch(43.15% 0.228 270.4)
XYZxyz(12.7103, 6.8903, 56.5258)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B30CA #CAC52B
analogous
#2B7FCA #2B30CA #752BCA
triadic
#2B30CA #CA2B30 #30CA2B
tetradic
#2B30CA #CA2B7F #CAC52B #2BCA75
square
#2B30CA #CA2B7F #CAC52B #2BCA75
split-complementary
#2B30CA #CA752B #7FCA2B
monochromatic
#161865 #202498 #2B30CA #575BDB #898CE6

Accessibility & contrast

On white

8.83
#2B30CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2B30CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B30CA
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B30CA#FFFFFF#000000##FFFFFF
##2B30CA1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CE
Deuteranopia (green-blind)
#0042C7
Tritanopia (blue-blind)
#005E7C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b30ca;
/* rgb */ color: rgb(43, 48, 202);
/* oklch */ color: oklch(43.2% 0.228 270.4);
Tailwind
colors: {
  custom: {
    50: '#816bdc',
    500: '#2b30ca',
    950: '#000000',
  },
}
SCSS
$custom: #2b30ca;
$custom-light: #816bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b30ca",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 202
  },
  "hsl": {
    "h": 238.113,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.43154,
    "c": 0.22807,
    "h": 270.4
  },
  "luminance": 0.06892
}

Semantic roles & 50–950 ramp

primary
#2B30CA
secondary
#D0CD81
accent
#E340E8
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2B30CA

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

Preview Lab → · Contrast checker → · Palette generator →

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