#2C3EAB#2C3EAB

#2C3EAB is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.174 H 269.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#2C3EAB
RGBrgb(44, 62, 171)
HSLhsl(231, 59%, 42%)
HSVhsv(231, 74%, 67%)
CMYKcmyk(74.3%, 63.7%, 0%, 32.9%)
CIE-LABlab(31.62, 31.63, -60.32)
CIE-LCHlch(31.62, 68.11, 297.67°)
OKLaboklab(42.3% -0.0004 -0.1743)
OKLCHoklch(42.3% 0.174 269.9)
XYZxyz(10.1095, 6.9199, 39.3231)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3EAB #AB992C
analogous
#2C7EAB #2C3EAB #5A2CAB
triadic
#2C3EAB #AB2C3E #3EAB2C
tetradic
#2C3EAB #AB2C7E #AB992C #2CAB5A
square
#2C3EAB #AB2C7E #AB992C #2CAB5A
split-complementary
#2C3EAB #AB5A2C #7EAB2C
monochromatic
#131B4A #1F2C7A #2C3EAB #4559CF #7684DC

Accessibility & contrast

On white

8.81
#2C3EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2C3EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3EAB
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3EAB#FFFFFF#000000##FFFFFF
##2C3EAB1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c3eab;
/* rgb */ color: rgb(44, 62, 171);
/* oklch */ color: oklch(42.3% 0.174 269.9);
Tailwind
colors: {
  custom: {
    50: '#7873c5',
    500: '#2c3eab',
    950: '#000000',
  },
}
SCSS
$custom: #2c3eab;
$custom-light: #7873c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3eab",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 171
  },
  "hsl": {
    "h": 231.496,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42303,
    "c": 0.17432,
    "h": 269.9
  },
  "luminance": 0.06921
}

Semantic roles & 50–950 ramp

primary
#2C3EAB
secondary
#C3B86F
accent
#CC46E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2C3EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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