#2C30B9#2C30B9

#2C30B9 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.4% C 0.208 H 271.6°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#2C30B9
RGBrgb(44, 48, 185)
HSLhsl(238, 62%, 45%)
HSVhsv(238, 76%, 73%)
CMYKcmyk(76.2%, 74.1%, 0%, 27.5%)
CIE-LABlab(29.79, 45.18, -71.67)
CIE-LCHlch(29.79, 84.72, 302.22°)
OKLaboklab(41.38% 0.0057 -0.2075)
OKLCHoklch(41.38% 0.208 271.6)
XYZxyz(10.8497, 6.1510, 46.5050)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C30B9 #B9B52C
analogous
#2C76B9 #2C30B9 #6F2CB9
triadic
#2C30B9 #B92C30 #30B92C
tetradic
#2C30B9 #B92C76 #B9B52C #2CB96F
square
#2C30B9 #B92C76 #B9B52C #2CB96F
split-complementary
#2C30B9 #B96F2C #76B92C
monochromatic
#141656 #202388 #2C30B9 #4D51D5 #7F82E1

Accessibility & contrast

On white

9.42
#2C30B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2C30B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C30B9
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C30B9#FFFFFF#000000##FFFFFF
##2C30B91.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#003FB7
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c30b9;
/* rgb */ color: rgb(44, 48, 185);
/* oklch */ color: oklch(41.4% 0.208 271.6);
Tailwind
colors: {
  custom: {
    50: '#7d6acf',
    500: '#2c30b9',
    950: '#000000',
  },
}
SCSS
$custom: #2c30b9;
$custom-light: #7d6acf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c30b9",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 185
  },
  "hsl": {
    "h": 238.298,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41382,
    "c": 0.20756,
    "h": 271.6
  },
  "luminance": 0.06152
}

Semantic roles & 50–950 ramp

primary
#2C30B9
secondary
#C9C778
accent
#E043E5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2C30B9

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

Preview Lab → · Contrast checker → · Palette generator →

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