#2C2EAF#2C2EAF

#2C2EAF is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.197 H 272.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#2C2EAF
RGBrgb(44, 46, 175)
HSLhsl(239, 60%, 43%)
HSVhsv(239, 75%, 69%)
CMYKcmyk(74.9%, 73.7%, 0%, 31.4%)
CIE-LABlab(28.34, 42.96, -68.11)
CIE-LCHlch(28.34, 80.53, 302.24°)
OKLaboklab(40.04% 0.0083 -0.1971)
OKLCHoklch(40.04% 0.197 272.4)
XYZxyz(9.7510, 5.5836, 41.1130)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2EAF #AFAD2C
analogous
#2C6FAF #2C2EAF #6B2CAF
triadic
#2C2EAF #AF2C2E #2EAF2C
tetradic
#2C2EAF #AF2C6F #AFAD2C #2CAF6B
square
#2C2EAF #AF2C6F #AFAD2C #2CAF6B
split-complementary
#2C2EAF #AF6B2C #6FAF2C
monochromatic
#13144D #20217E #2C2EAF #4749D1 #787ADD

Accessibility & contrast

On white

9.92
#2C2EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2C2EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2EAF
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2EAF#FFFFFF#000000##FFFFFF
##2C2EAF1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003CAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c2eaf;
/* rgb */ color: rgb(44, 46, 175);
/* oklch */ color: oklch(40.0% 0.197 272.4);
Tailwind
colors: {
  custom: {
    50: '#7b68c8',
    500: '#2c2eaf',
    950: '#000000',
  },
}
SCSS
$custom: #2c2eaf;
$custom-light: #7b68c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2eaf",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 239.084,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40037,
    "c": 0.19729,
    "h": 272.4
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#2C2EAF
secondary
#C5C472
accent
#E145E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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