#2C3FA2#2C3FA2

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

Color values

HEX#2C3FA2
RGBrgb(44, 63, 162)
HSLhsl(230, 57%, 40%)
HSVhsv(230, 73%, 64%)
CMYKcmyk(72.8%, 61.1%, 0%, 36.5%)
CIE-LABlab(31.11, 27.64, -55.75)
CIE-LCHlch(31.11, 62.22, 296.37°)
OKLaboklab(41.69% -0.001 -0.1609)
OKLCHoklch(41.69% 0.161 269.7)
XYZxyz(9.3356, 6.6982, 34.9763)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3FA2 #A28F2C
analogous
#2C7AA2 #2C3FA2 #542CA2
triadic
#2C3FA2 #A22C3F #3FA22C
tetradic
#2C3FA2 #A22C7A #A28F2C #2CA254
square
#2C3FA2 #A22C7A #A28F2C #2CA254
split-complementary
#2C3FA2 #A2542C #7AA22C
monochromatic
#121A42 #1F2C72 #2C3FA2 #4056CB #7081D8

Accessibility & contrast

On white

8.98
#2C3FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2C3FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3FA2
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3FA2#FFFFFF#000000##FFFFFF
##2C3FA21.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#0044A0
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c3fa2;
/* rgb */ color: rgb(44, 63, 162);
/* oklch */ color: oklch(41.7% 0.161 269.7);
Tailwind
colors: {
  custom: {
    50: '#7673be',
    500: '#2c3fa2',
    950: '#000000',
  },
}
SCSS
$custom: #2c3fa2;
$custom-light: #7673be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3fa2",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 230.339,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41685,
    "c": 0.16091,
    "h": 269.7
  },
  "luminance": 0.06699
}

Semantic roles & 50–950 ramp

primary
#2C3FA2
secondary
#BFB26A
accent
#C847E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2C3FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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