#2C30BB#2C30BB

#2C30BB is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.6% C 0.210 H 271.5°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#2C30BB
RGBrgb(44, 48, 187)
HSLhsl(238, 62%, 45%)
HSVhsv(238, 76%, 73%)
CMYKcmyk(76.5%, 74.3%, 0%, 26.7%)
CIE-LABlab(30.00, 45.84, -72.51)
CIE-LCHlch(30.00, 85.78, 302.30°)
OKLaboklab(41.59% 0.0054 -0.2099)
OKLCHoklch(41.59% 0.21 271.5)
XYZxyz(11.0623, 6.2360, 47.6247)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C30BB #BBB72C
analogous
#2C77BB #2C30BB #702CBB
triadic
#2C30BB #BB2C30 #30BB2C
tetradic
#2C30BB #BB2C77 #BBB72C #2CBB70
square
#2C30BB #BB2C77 #BBB72C #2CBB70
split-complementary
#2C30BB #BB702C #77BB2C
monochromatic
#151758 #202389 #2C30BB #4F52D6 #8083E1

Accessibility & contrast

On white

9.34
#2C30BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2C30BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C30BB
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C30BB#FFFFFF#000000##FFFFFF
##2C30BB1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBF
Deuteranopia (green-blind)
#0040B9
Tritanopia (blue-blind)
#005973
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c30bb;
/* rgb */ color: rgb(44, 48, 187);
/* oklch */ color: oklch(41.6% 0.210 271.5);
Tailwind
colors: {
  custom: {
    50: '#7d6ad1',
    500: '#2c30bb',
    950: '#000000',
  },
}
SCSS
$custom: #2c30bb;
$custom-light: #7d6ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c30bb",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 238.322,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41593,
    "c": 0.20998,
    "h": 271.5
  },
  "luminance": 0.06237
}

Semantic roles & 50–950 ramp

primary
#2C30BB
secondary
#CAC879
accent
#E043E5
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2C30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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