#2C30BA#2C30BA

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

Color values

HEX#2C30BA
RGBrgb(44, 48, 186)
HSLhsl(238, 62%, 45%)
HSVhsv(238, 76%, 73%)
CMYKcmyk(76.3%, 74.2%, 0%, 27.1%)
CIE-LABlab(29.90, 45.51, -72.09)
CIE-LCHlch(29.90, 85.25, 302.26°)
OKLaboklab(41.49% 0.0056 -0.2087)
OKLCHoklch(41.49% 0.209 271.5)
XYZxyz(10.9556, 6.1934, 47.0629)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C30BA #BAB62C
analogous
#2C77BA #2C30BA #6F2CBA
triadic
#2C30BA #BA2C30 #30BA2C
tetradic
#2C30BA #BA2C77 #BAB62C #2CBA6F
square
#2C30BA #BA2C77 #BAB62C #2CBA6F
split-complementary
#2C30BA #BA6F2C #77BA2C
monochromatic
#151657 #202389 #2C30BA #4E52D5 #8082E1

Accessibility & contrast

On white

9.38
#2C30BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2C30BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C30BA
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C30BA#FFFFFF#000000##FFFFFF
##2C30BA1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c30ba;
/* rgb */ color: rgb(44, 48, 186);
/* oklch */ color: oklch(41.5% 0.209 271.5);
Tailwind
colors: {
  custom: {
    50: '#7d6ad0',
    500: '#2c30ba',
    950: '#000000',
  },
}
SCSS
$custom: #2c30ba;
$custom-light: #7d6ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c30ba",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 238.31,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41487,
    "c": 0.20877,
    "h": 271.5
  },
  "luminance": 0.06195
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C30BA

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

Preview Lab → · Contrast checker → · Palette generator →

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