#2C3DA5#2C3DA5

#2C3DA5 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.6% C 0.167 H 270.2°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#2C3DA5
RGBrgb(44, 61, 165)
HSLhsl(232, 58%, 41%)
HSVhsv(232, 73%, 65%)
CMYKcmyk(73.3%, 63%, 0%, 35.3%)
CIE-LABlab(30.85, 30.07, -57.98)
CIE-LCHlch(30.85, 65.31, 297.41°)
OKLaboklab(41.57% 0.0004 -0.1675)
OKLCHoklch(41.57% 0.167 270.2)
XYZxyz(9.4967, 6.5886, 36.3613)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3DA5 #A5942C
analogous
#2C79A5 #2C3DA5 #572CA5
triadic
#2C3DA5 #A52C3D #3DA52C
tetradic
#2C3DA5 #A52C79 #A5942C #2CA557
square
#2C3DA5 #A52C79 #A5942C #2CA557
split-complementary
#2C3DA5 #A5572C #79A52C
monochromatic
#121944 #1F2B75 #2C3DA5 #4255CD #7281D9

Accessibility & contrast

On white

9.06
#2C3DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2C3DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3DA5
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3DA5#FFFFFF#000000##FFFFFF
##2C3DA51.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c3da5;
/* rgb */ color: rgb(44, 61, 165);
/* oklch */ color: oklch(41.6% 0.167 270.2);
Tailwind
colors: {
  custom: {
    50: '#7772c1',
    500: '#2c3da5',
    950: '#000000',
  },
}
SCSS
$custom: #2c3da5;
$custom-light: #7772c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3da5",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 165
  },
  "hsl": {
    "h": 231.57,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41572,
    "c": 0.16747,
    "h": 270.2
  },
  "luminance": 0.0659
}

Semantic roles & 50–950 ramp

primary
#2C3DA5
secondary
#C1B56C
accent
#CB47E1
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2C3DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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