#2C3FA4#2C3FA4

#2C3FA4 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.9% C 0.164 H 269.7°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#2C3FA4
RGBrgb(44, 63, 164)
HSLhsl(231, 58%, 41%)
HSVhsv(231, 73%, 64%)
CMYKcmyk(73.2%, 61.6%, 0%, 35.7%)
CIE-LABlab(31.28, 28.38, -56.68)
CIE-LCHlch(31.28, 63.39, 296.60°)
OKLaboklab(41.86% -0.001 -0.1636)
OKLCHoklch(41.86% 0.164 269.7)
XYZxyz(9.5148, 6.7698, 35.9200)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3FA4 #A4912C
analogous
#2C7BA4 #2C3FA4 #552CA4
triadic
#2C3FA4 #A42C3F #3FA42C
tetradic
#2C3FA4 #A42C7B #A4912C #2CA455
square
#2C3FA4 #A42C7B #A4912C #2CA455
split-complementary
#2C3FA4 #A4552C #7BA42C
monochromatic
#121A43 #1F2C74 #2C3FA4 #4157CC #7182D9

Accessibility & contrast

On white

8.92
#2C3FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2C3FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3FA4
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3FA4#FFFFFF#000000##FFFFFF
##2C3FA41.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0044A2
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c3fa4;
/* rgb */ color: rgb(44, 63, 164);
/* oklch */ color: oklch(41.9% 0.164 269.7);
Tailwind
colors: {
  custom: {
    50: '#7673c0',
    500: '#2c3fa4',
    950: '#000000',
  },
}
SCSS
$custom: #2c3fa4;
$custom-light: #7673c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3fa4",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 230.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41861,
    "c": 0.16365,
    "h": 269.7
  },
  "luminance": 0.06771
}

Semantic roles & 50–950 ramp

primary
#2C3FA4
secondary
#C0B36B
accent
#C947E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2C3FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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