#2C2BA8#2C2BA8

#2C2BA8 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.192 H 273.3°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#2C2BA8
RGBrgb(44, 43, 168)
HSLhsl(240, 59%, 41%)
HSVhsv(240, 74%, 66%)
CMYKcmyk(73.8%, 74.4%, 0%, 34.1%)
CIE-LABlab(26.99, 42.33, -66.13)
CIE-LCHlch(26.99, 78.52, 302.62°)
OKLaboklab(38.86% 0.011 -0.1913)
OKLCHoklch(38.86% 0.192 273.3)
XYZxyz(8.9681, 5.0895, 37.5479)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2BA8 #A7A82B
analogous
#2B69A8 #2C2BA8 #6B2BA8
triadic
#2C2BA8 #A82C2B #2BA82C
tetradic
#2C2BA8 #A82B69 #A7A82B #2BA86B
square
#2C2BA8 #A82B69 #A7A82B #2BA86B
split-complementary
#2C2BA8 #A86B2B #69A82B
monochromatic
#121247 #1F1F77 #2C2BA8 #4342CF #7372DB

Accessibility & contrast

On white

10.41
#2C2BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2C2BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2BA8
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2BA8#FFFFFF#000000##FFFFFF
##2C2BA81.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#003AA6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c2ba8;
/* rgb */ color: rgb(44, 43, 168);
/* oklch */ color: oklch(38.9% 0.192 273.3);
Tailwind
colors: {
  custom: {
    50: '#7966c3',
    500: '#2c2ba8',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ba8;
$custom-light: #7966c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ba8",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 240.48,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.3886,
    "c": 0.19165,
    "h": 273.3
  },
  "luminance": 0.0509
}

Semantic roles & 50–950 ramp

primary
#2C2BA8
secondary
#C2C26C
accent
#E245E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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