#2C3FA1#2C3FA1

#2C3FA1 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.160 H 269.7°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#2C3FA1
RGBrgb(44, 63, 161)
HSLhsl(230, 57%, 40%)
HSVhsv(230, 73%, 63%)
CMYKcmyk(72.7%, 60.9%, 0%, 36.9%)
CIE-LABlab(31.03, 27.26, -55.28)
CIE-LCHlch(31.03, 61.64, 296.25°)
OKLaboklab(41.6% -0.0009 -0.1595)
OKLCHoklch(41.6% 0.16 269.7)
XYZxyz(9.2470, 6.6628, 34.5100)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3FA1 #A18E2C
analogous
#2C7AA1 #2C3FA1 #532CA1
triadic
#2C3FA1 #A12C3F #3FA12C
tetradic
#2C3FA1 #A12C7A #A18E2C #2CA153
square
#2C3FA1 #A12C7A #A18E2C #2CA153
split-complementary
#2C3FA1 #A1532C #7AA12C
monochromatic
#121941 #1F2C71 #2C3FA1 #4056CB #7081D8

Accessibility & contrast

On white

9.00
#2C3FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2C3FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3FA1
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3FA1#FFFFFF#000000##FFFFFF
##2C3FA11.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA4
Deuteranopia (green-blind)
#00449F
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c3fa1;
/* rgb */ color: rgb(44, 63, 161);
/* oklch */ color: oklch(41.6% 0.160 269.7);
Tailwind
colors: {
  custom: {
    50: '#7673be',
    500: '#2c3fa1',
    950: '#000000',
  },
}
SCSS
$custom: #2c3fa1;
$custom-light: #7673be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3fa1",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 161
  },
  "hsl": {
    "h": 230.256,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41597,
    "c": 0.15954,
    "h": 269.7
  },
  "luminance": 0.06664
}

Semantic roles & 50–950 ramp

primary
#2C3FA1
secondary
#BFB16A
accent
#C847E0
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2C3FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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