#2C41AF#2C41AF

#2C41AF is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.2% C 0.176 H 269.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#2C41AF
RGBrgb(44, 65, 175)
HSLhsl(230, 60%, 43%)
HSVhsv(230, 75%, 69%)
CMYKcmyk(74.9%, 62.9%, 0%, 31.4%)
CIE-LABlab(32.72, 31.14, -60.91)
CIE-LCHlch(32.72, 68.41, 297.08°)
OKLaboklab(43.22% -0.0026 -0.176)
OKLCHoklch(43.22% 0.176 269.2)
XYZxyz(10.6642, 7.4101, 41.4174)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C41AF #AF9A2C
analogous
#2C82AF #2C41AF #592CAF
triadic
#2C41AF #AF2C41 #41AF2C
tetradic
#2C41AF #AF2C82 #AF9A2C #2CAF59
square
#2C41AF #AF2C82 #AF9A2C #2CAF59
split-complementary
#2C41AF #AF592C #82AF2C
monochromatic
#131D4D #202F7E #2C41AF #475DD1 #7888DD

Accessibility & contrast

On white

8.46
#2C41AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2C41AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C41AF
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C41AF#FFFFFF#000000##FFFFFF
##2C41AF1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c41af;
/* rgb */ color: rgb(44, 65, 175);
/* oklch */ color: oklch(43.2% 0.176 269.2);
Tailwind
colors: {
  custom: {
    50: '#7975c8',
    500: '#2c41af',
    950: '#000000',
  },
}
SCSS
$custom: #2c41af;
$custom-light: #7975c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c41af",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 230.382,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4322,
    "c": 0.17604,
    "h": 269.2
  },
  "luminance": 0.07411
}

Semantic roles & 50–950 ramp

primary
#2C41AF
secondary
#C5B872
accent
#CA45E3
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2C41AF

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

Preview Lab → · Contrast checker → · Palette generator →

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