#2C3EAF#2C3EAF

#2C3EAF is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.180 H 269.8°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#2C3EAF
RGBrgb(44, 62, 175)
HSLhsl(232, 60%, 43%)
HSVhsv(232, 75%, 69%)
CMYKcmyk(74.9%, 64.6%, 0%, 31.4%)
CIE-LABlab(31.98, 33.09, -62.13)
CIE-LCHlch(31.98, 70.39, 298.04°)
OKLaboklab(42.67% -0.0006 -0.1796)
OKLCHoklch(42.67% 0.18 269.8)
XYZxyz(10.4965, 7.0747, 41.3615)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3EAF #AF9D2C
analogous
#2C7FAF #2C3EAF #5C2CAF
triadic
#2C3EAF #AF2C3E #3EAF2C
tetradic
#2C3EAF #AF2C7F #AF9D2C #2CAF5C
square
#2C3EAF #AF2C7F #AF9D2C #2CAF5C
split-complementary
#2C3EAF #AF5C2C #7FAF2C
monochromatic
#131B4D #202D7E #2C3EAF #475AD1 #7886DD

Accessibility & contrast

On white

8.69
#2C3EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2C3EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3EAF
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3EAF#FFFFFF#000000##FFFFFF
##2C3EAF1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c3eaf;
/* rgb */ color: rgb(44, 62, 175);
/* oklch */ color: oklch(42.7% 0.180 269.8);
Tailwind
colors: {
  custom: {
    50: '#7973c8',
    500: '#2c3eaf',
    950: '#000000',
  },
}
SCSS
$custom: #2c3eaf;
$custom-light: #7973c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3eaf",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 231.756,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42671,
    "c": 0.17962,
    "h": 269.8
  },
  "luminance": 0.07076
}

Semantic roles & 50–950 ramp

primary
#2C3EAF
secondary
#C5BA72
accent
#CD45E3
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2C3EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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