#2C41A2#2C41A2

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

Color values

HEX#2C41A2
RGBrgb(44, 65, 162)
HSLhsl(229, 57%, 40%)
HSVhsv(229, 73%, 64%)
CMYKcmyk(72.8%, 59.9%, 0%, 36.5%)
CIE-LABlab(31.63, 26.31, -54.90)
CIE-LCHlch(31.63, 60.87, 295.60°)
OKLaboklab(42.07% -0.0025 -0.1584)
OKLCHoklch(42.07% 0.158 269.1)
XYZxyz(9.4483, 6.9237, 35.0139)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C41A2 #A28D2C
analogous
#2C7CA2 #2C41A2 #522CA2
triadic
#2C41A2 #A22C41 #41A22C
tetradic
#2C41A2 #A22C7C #A28D2C #2CA252
square
#2C41A2 #A22C7C #A28D2C #2CA252
split-complementary
#2C41A2 #A2522C #7CA22C
monochromatic
#121A42 #1F2E72 #2C41A2 #4059CB #7083D8

Accessibility & contrast

On white

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

On black

2.39
#2C41A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2C41A2#FFFFFF#000000##FFFFFF
##2C41A21.008.812.398.81
#FFFFFF8.811.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c41a2;
/* rgb */ color: rgb(44, 65, 162);
/* oklch */ color: oklch(42.1% 0.158 269.1);
Tailwind
colors: {
  custom: {
    50: '#7675be',
    500: '#2c41a2',
    950: '#000000',
  },
}
SCSS
$custom: #2c41a2;
$custom-light: #7675be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c41a2",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 229.322,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42073,
    "c": 0.1584,
    "h": 269.1
  },
  "luminance": 0.06925
}

Semantic roles & 50–950 ramp

primary
#2C41A2
secondary
#BFB06A
accent
#C547E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2C41A2

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

Preview Lab → · Contrast checker → · Palette generator →

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