#2C3CA0#2C3CA0

#2C3CA0 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.9% C 0.162 H 270.5°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#2C3CA0
RGBrgb(44, 60, 160)
HSLhsl(232, 57%, 40%)
HSVhsv(232, 73%, 63%)
CMYKcmyk(72.5%, 62.5%, 0%, 37.3%)
CIE-LABlab(30.17, 28.88, -56.08)
CIE-LCHlch(30.17, 63.08, 297.25°)
OKLaboklab(40.94% 0.0013 -0.1619)
OKLCHoklch(40.94% 0.162 270.5)
XYZxyz(8.9976, 6.3043, 33.9936)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3CA0 #A0902C
analogous
#2C76A0 #2C3CA0 #562CA0
triadic
#2C3CA0 #A02C3C #3CA02C
tetradic
#2C3CA0 #A02C76 #A0902C #2CA056
square
#2C3CA0 #A02C76 #A0902C #2CA056
split-complementary
#2C3CA0 #A0562C #76A02C
monochromatic
#121840 #1F2A70 #2C3CA0 #3F52CA #6F7DD7

Accessibility & contrast

On white

9.29
#2C3CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2C3CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3CA0
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3CA0#FFFFFF#000000##FFFFFF
##2C3CA01.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c3ca0;
/* rgb */ color: rgb(44, 60, 160);
/* oklch */ color: oklch(40.9% 0.162 270.5);
Tailwind
colors: {
  custom: {
    50: '#7671bd',
    500: '#2c3ca0',
    950: '#000000',
  },
}
SCSS
$custom: #2c3ca0;
$custom-light: #7671bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3ca0",
  "rgb": {
    "r": 44,
    "g": 60,
    "b": 160
  },
  "hsl": {
    "h": 231.724,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.40935,
    "c": 0.16192,
    "h": 270.5
  },
  "luminance": 0.06305
}

Semantic roles & 50–950 ramp

primary
#2C3CA0
secondary
#BFB369
accent
#CB48E0
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2C3CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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