#2C3EA2#2C3EA2

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

Color values

HEX#2C3EA2
RGBrgb(44, 62, 162)
HSLhsl(231, 57%, 40%)
HSVhsv(231, 73%, 64%)
CMYKcmyk(72.8%, 61.7%, 0%, 36.5%)
CIE-LABlab(30.85, 28.30, -56.17)
CIE-LCHlch(30.85, 62.90, 296.74°)
OKLaboklab(41.49% -0.0002 -0.1622)
OKLCHoklch(41.49% 0.162 269.9)
XYZxyz(9.2807, 6.5884, 34.9580)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3EA2 #A2902C
analogous
#2C79A2 #2C3EA2 #552CA2
triadic
#2C3EA2 #A22C3E #3EA22C
tetradic
#2C3EA2 #A22C79 #A2902C #2CA255
square
#2C3EA2 #A22C79 #A2902C #2CA255
split-complementary
#2C3EA2 #A2552C #79A22C
monochromatic
#121942 #1F2C72 #2C3EA2 #4055CB #7080D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C3EA2#FFFFFF#000000##FFFFFF
##2C3EA21.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)
#004EA5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c3ea2;
/* rgb */ color: rgb(44, 62, 162);
/* oklch */ color: oklch(41.5% 0.162 269.9);
Tailwind
colors: {
  custom: {
    50: '#7673be',
    500: '#2c3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #2c3ea2;
$custom-light: #7673be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3ea2",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 230.847,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41493,
    "c": 0.16216,
    "h": 269.9
  },
  "luminance": 0.06589
}

Semantic roles & 50–950 ramp

primary
#2C3EA2
secondary
#BFB26A
accent
#C947E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2C3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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