#2C44A2#2C44A2

#2C44A2 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.7% C 0.155 H 268.2°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#2C44A2
RGBrgb(44, 68, 162)
HSLhsl(228, 57%, 40%)
HSVhsv(228, 73%, 64%)
CMYKcmyk(72.8%, 58%, 0%, 36.5%)
CIE-LABlab(32.43, 24.30, -53.60)
CIE-LCHlch(32.43, 58.85, 294.39°)
OKLaboklab(42.67% -0.0048 -0.1545)
OKLCHoklch(42.67% 0.155 268.2)
XYZxyz(9.6252, 7.2774, 35.0728)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C44A2 #A28A2C
analogous
#2C7FA2 #2C44A2 #4F2CA2
triadic
#2C44A2 #A22C44 #44A22C
tetradic
#2C44A2 #A22C7F #A28A2C #2CA24F
square
#2C44A2 #A22C7F #A28A2C #2CA24F
split-complementary
#2C44A2 #A24F2C #7FA22C
monochromatic
#121C42 #1F3072 #2C44A2 #405CCB #7085D8

Accessibility & contrast

On white

8.55
#2C44A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2C44A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C44A2
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C44A2#FFFFFF#000000##FFFFFF
##2C44A21.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c44a2;
/* rgb */ color: rgb(44, 68, 162);
/* oklch */ color: oklch(42.7% 0.155 268.2);
Tailwind
colors: {
  custom: {
    50: '#7677be',
    500: '#2c44a2',
    950: '#000000',
  },
}
SCSS
$custom: #2c44a2;
$custom-light: #7677be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c44a2",
  "rgb": {
    "r": 44,
    "g": 68,
    "b": 162
  },
  "hsl": {
    "h": 227.797,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42669,
    "c": 0.15461,
    "h": 268.2
  },
  "luminance": 0.07278
}

Semantic roles & 50–950 ramp

primary
#2C44A2
secondary
#BFAE6A
accent
#C147E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2C44A2

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

Preview Lab → · Contrast checker → · Palette generator →

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