#2C3FBA#2C3FBA

#2C3FBA is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.9% C 0.193 H 269.4°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2C3FBA
RGBrgb(44, 63, 186)
HSLhsl(232, 62%, 45%)
HSVhsv(232, 76%, 73%)
CMYKcmyk(76.3%, 66.1%, 0%, 27.1%)
CIE-LABlab(33.21, 36.45, -66.63)
CIE-LCHlch(33.21, 75.95, 298.68°)
OKLaboklab(43.88% -0.0019 -0.1928)
OKLCHoklch(43.88% 0.193 269.4)
XYZxyz(11.6761, 7.6344, 47.3031)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3FBA #BAA72C
analogous
#2C86BA #2C3FBA #602CBA
triadic
#2C3FBA #BA2C3F #3FBA2C
tetradic
#2C3FBA #BA2C86 #BAA72C #2CBA60
square
#2C3FBA #BA2C86 #BAA72C #2CBA60
split-complementary
#2C3FBA #BA602C #86BA2C
monochromatic
#151D57 #202E89 #2C3FBA #4E60D5 #808DE1

Accessibility & contrast

On white

8.31
#2C3FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2C3FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3FBA
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3FBA#FFFFFF#000000##FFFFFF
##2C3FBA1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#0047B8
Tritanopia (blue-blind)
#006077
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c3fba;
/* rgb */ color: rgb(44, 63, 186);
/* oklch */ color: oklch(43.9% 0.193 269.4);
Tailwind
colors: {
  custom: {
    50: '#7c74d0',
    500: '#2c3fba',
    950: '#000000',
  },
}
SCSS
$custom: #2c3fba;
$custom-light: #7c74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3fba",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 186
  },
  "hsl": {
    "h": 231.972,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43878,
    "c": 0.1928,
    "h": 269.4
  },
  "luminance": 0.07636
}

Semantic roles & 50–950 ramp

primary
#2C3FBA
secondary
#CABF78
accent
#CF43E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2C3FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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