#2C3DAF#2C3DAF

#2C3DAF is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.181 H 270.0°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#2C3DAF
RGBrgb(44, 61, 175)
HSLhsl(232, 60%, 43%)
HSVhsv(232, 75%, 69%)
CMYKcmyk(74.9%, 65.1%, 0%, 31.4%)
CIE-LABlab(31.73, 33.74, -62.53)
CIE-LCHlch(31.73, 71.05, 298.35°)
OKLaboklab(42.49% 0 -0.1808)
OKLCHoklch(42.49% 0.181 270)
XYZxyz(10.4427, 6.9670, 41.3435)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3DAF #AF9E2C
analogous
#2C7EAF #2C3DAF #5D2CAF
triadic
#2C3DAF #AF2C3D #3DAF2C
tetradic
#2C3DAF #AF2C7E #AF9E2C #2CAF5D
square
#2C3DAF #AF2C7E #AF9E2C #2CAF5D
split-complementary
#2C3DAF #AF5D2C #7EAF2C
monochromatic
#131B4D #202C7E #2C3DAF #4759D1 #7885DD

Accessibility & contrast

On white

8.77
#2C3DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3DAF
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3DAF#FFFFFF#000000##FFFFFF
##2C3DAF1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3daf;
/* rgb */ color: rgb(44, 61, 175);
/* oklch */ color: oklch(42.5% 0.181 270.0);
Tailwind
colors: {
  custom: {
    50: '#7972c8',
    500: '#2c3daf',
    950: '#000000',
  },
}
SCSS
$custom: #2c3daf;
$custom-light: #7972c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3daf",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 232.214,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42491,
    "c": 0.18081,
    "h": 270
  },
  "luminance": 0.06968
}

Semantic roles & 50–950 ramp

primary
#2C3DAF
secondary
#C5BA72
accent
#CE45E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2C3DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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