#2C3BA2#2C3BA2

#2C3BA2 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.9% C 0.166 H 270.7°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#2C3BA2
RGBrgb(44, 59, 162)
HSLhsl(232, 57%, 40%)
HSVhsv(232, 73%, 64%)
CMYKcmyk(72.8%, 63.6%, 0%, 36.5%)
CIE-LABlab(30.09, 30.27, -57.42)
CIE-LCHlch(30.09, 64.91, 297.80°)
OKLaboklab(40.93% 0.002 -0.1659)
OKLCHoklch(40.93% 0.166 270.7)
XYZxyz(9.1220, 6.2711, 34.9051)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3BA2 #A2932C
analogous
#2C76A2 #2C3BA2 #582CA2
triadic
#2C3BA2 #A22C3B #3BA22C
tetradic
#2C3BA2 #A22C76 #A2932C #2CA258
square
#2C3BA2 #A22C76 #A2932C #2CA258
split-complementary
#2C3BA2 #A2582C #76A22C
monochromatic
#121842 #1F2972 #2C3BA2 #4052CB #707DD8

Accessibility & contrast

On white

9.32
#2C3BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2C3BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3BA2
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3BA2#FFFFFF#000000##FFFFFF
##2C3BA21.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#0041A0
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c3ba2;
/* rgb */ color: rgb(44, 59, 162);
/* oklch */ color: oklch(40.9% 0.166 270.7);
Tailwind
colors: {
  custom: {
    50: '#7671be',
    500: '#2c3ba2',
    950: '#000000',
  },
}
SCSS
$custom: #2c3ba2;
$custom-light: #7671be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3ba2",
  "rgb": {
    "r": 44,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 232.373,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40928,
    "c": 0.16587,
    "h": 270.7
  },
  "luminance": 0.06272
}

Semantic roles & 50–950 ramp

primary
#2C3BA2
secondary
#BFB56A
accent
#CD47E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2C3BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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