#2C30AD#2C30AD

#2C30AD is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.1% C 0.193 H 272.3°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#2C30AD
RGBrgb(44, 48, 173)
HSLhsl(238, 59%, 43%)
HSVhsv(238, 75%, 68%)
CMYKcmyk(74.6%, 72.3%, 0%, 32.2%)
CIE-LABlab(28.55, 41.11, -66.56)
CIE-LCHlch(28.55, 78.23, 301.70°)
OKLaboklab(40.13% 0.0076 -0.1926)
OKLCHoklch(40.13% 0.193 272.3)
XYZxyz(9.6359, 5.6655, 40.1128)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C30AD #ADA92C
analogous
#2C70AD #2C30AD #692CAD
triadic
#2C30AD #AD2C30 #30AD2C
tetradic
#2C30AD #AD2C70 #ADA92C #2CAD69
square
#2C30AD #AD2C70 #ADA92C #2CAD69
split-complementary
#2C30AD #AD692C #70AD2C
monochromatic
#13154B #20227C #2C30AD #464AD0 #777ADC

Accessibility & contrast

On white

9.84
#2C30AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2C30AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C30AD
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C30AD#FFFFFF#000000##FFFFFF
##2C30AD1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB1
Deuteranopia (green-blind)
#003DAB
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c30ad;
/* rgb */ color: rgb(44, 48, 173);
/* oklch */ color: oklch(40.1% 0.193 272.3);
Tailwind
colors: {
  custom: {
    50: '#7a69c7',
    500: '#2c30ad',
    950: '#000000',
  },
}
SCSS
$custom: #2c30ad;
$custom-light: #7a69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c30ad",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 173
  },
  "hsl": {
    "h": 238.14,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40129,
    "c": 0.19275,
    "h": 272.3
  },
  "luminance": 0.05667
}

Semantic roles & 50–950 ramp

primary
#2C30AD
secondary
#C4C271
accent
#DE45E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C30AD

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

Preview Lab → · Contrast checker → · Palette generator →

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