#2C30B4#2C30B4

#2C30B4 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.9% C 0.201 H 271.9°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#2C30B4
RGBrgb(44, 48, 180)
HSLhsl(238, 61%, 44%)
HSVhsv(238, 76%, 71%)
CMYKcmyk(75.6%, 73.3%, 0%, 29.4%)
CIE-LABlab(29.27, 43.49, -69.56)
CIE-LCHlch(29.27, 82.04, 302.02°)
OKLaboklab(40.86% 0.0065 -0.2013)
OKLCHoklch(40.86% 0.201 271.9)
XYZxyz(10.3311, 5.9436, 43.7739)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C30B4 #B4B02C
analogous
#2C74B4 #2C30B4 #6C2CB4
triadic
#2C30B4 #B42C30 #30B42C
tetradic
#2C30B4 #B42C74 #B4B02C #2CB46C
square
#2C30B4 #B42C74 #B4B02C #2CB46C
split-complementary
#2C30B4 #B46C2C #74B42C
monochromatic
#141652 #202383 #2C30B4 #4A4ED3 #7C7EDF

Accessibility & contrast

On white

9.59
#2C30B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2C30B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C30B4
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C30B4#FFFFFF#000000##FFFFFF
##2C30B41.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#003EB2
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c30b4;
/* rgb */ color: rgb(44, 48, 180);
/* oklch */ color: oklch(40.9% 0.201 271.9);
Tailwind
colors: {
  custom: {
    50: '#7c6acc',
    500: '#2c30b4',
    950: '#000000',
  },
}
SCSS
$custom: #2c30b4;
$custom-light: #7c6acc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c30b4",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 238.235,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40856,
    "c": 0.20145,
    "h": 271.9
  },
  "luminance": 0.05945
}

Semantic roles & 50–950 ramp

primary
#2C30B4
secondary
#C7C575
accent
#DF44E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2C30B4

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

Preview Lab → · Contrast checker → · Palette generator →

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