#2C3CAF#2C3CAF

#2C3CAF is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.182 H 270.2°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#2C3CAF
RGBrgb(44, 60, 175)
HSLhsl(233, 60%, 43%)
HSVhsv(233, 75%, 69%)
CMYKcmyk(74.9%, 65.7%, 0%, 31.4%)
CIE-LABlab(31.49, 34.38, -62.93)
CIE-LCHlch(31.49, 71.71, 298.65°)
OKLaboklab(42.31% 0.0006 -0.182)
OKLCHoklch(42.31% 0.182 270.2)
XYZxyz(10.3898, 6.8612, 41.3259)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3CAF #AF9F2C
analogous
#2C7DAF #2C3CAF #5E2CAF
triadic
#2C3CAF #AF2C3C #3CAF2C
tetradic
#2C3CAF #AF2C7D #AF9F2C #2CAF5E
square
#2C3CAF #AF2C7D #AF9F2C #2CAF5E
split-complementary
#2C3CAF #AF5E2C #7DAF2C
monochromatic
#131A4D #202B7E #2C3CAF #4758D1 #7885DD

Accessibility & contrast

On white

8.85
#2C3CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2C3CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3CAF
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3CAF#FFFFFF#000000##FFFFFF
##2C3CAF1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c3caf;
/* rgb */ color: rgb(44, 60, 175);
/* oklch */ color: oklch(42.3% 0.182 270.2);
Tailwind
colors: {
  custom: {
    50: '#7972c8',
    500: '#2c3caf',
    950: '#000000',
  },
}
SCSS
$custom: #2c3caf;
$custom-light: #7972c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3caf",
  "rgb": {
    "r": 44,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 232.672,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42313,
    "c": 0.18198,
    "h": 270.2
  },
  "luminance": 0.06862
}

Semantic roles & 50–950 ramp

primary
#2C3CAF
secondary
#C5BB72
accent
#D045E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2C3CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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