#2C30A9#2C30A9

#2C30A9 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.188 H 272.5°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#2C30A9
RGBrgb(44, 48, 169)
HSLhsl(238, 59%, 42%)
HSVhsv(238, 74%, 66%)
CMYKcmyk(74%, 71.6%, 0%, 33.7%)
CIE-LABlab(28.15, 39.73, -64.82)
CIE-LCHlch(28.15, 76.03, 301.50°)
OKLaboklab(39.72% 0.0082 -0.1875)
OKLCHoklch(39.72% 0.188 272.5)
XYZxyz(9.2547, 5.5130, 38.1048)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C30A9 #A9A52C
analogous
#2C6FA9 #2C30A9 #672CA9
triadic
#2C30A9 #A92C30 #30A92C
tetradic
#2C30A9 #A92C6F #A9A52C #2CA967
square
#2C30A9 #A92C6F #A9A52C #2CA967
split-complementary
#2C30A9 #A9672C #6FA92C
monochromatic
#131448 #1F2278 #2C30A9 #4448CE #7478DB

Accessibility & contrast

On white

9.99
#2C30A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2C30A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C30A9
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C30A9#FFFFFF#000000##FFFFFF
##2C30A91.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003CA7
Tritanopia (blue-blind)
#005269
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c30a9;
/* rgb */ color: rgb(44, 48, 169);
/* oklch */ color: oklch(39.7% 0.188 272.5);
Tailwind
colors: {
  custom: {
    50: '#7969c4',
    500: '#2c30a9',
    950: '#000000',
  },
}
SCSS
$custom: #2c30a9;
$custom-light: #7969c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c30a9",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 169
  },
  "hsl": {
    "h": 238.08,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39719,
    "c": 0.18772,
    "h": 272.5
  },
  "luminance": 0.05514
}

Semantic roles & 50–950 ramp

primary
#2C30A9
secondary
#C3C06E
accent
#DD46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C30A9

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

Preview Lab → · Contrast checker → · Palette generator →

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