#2C3EB8#2C3EB8

#2C3EB8 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.5% C 0.191 H 269.7°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2C3EB8
RGBrgb(44, 62, 184)
HSLhsl(232, 61%, 45%)
HSVhsv(232, 76%, 72%)
CMYKcmyk(76.1%, 66.3%, 0%, 27.8%)
CIE-LABlab(32.79, 36.36, -66.14)
CIE-LCHlch(32.79, 75.47, 298.80°)
OKLaboklab(43.51% -0.0012 -0.1914)
OKLCHoklch(43.51% 0.191 269.7)
XYZxyz(11.4101, 7.4402, 46.1729)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3EB8 #B8A62C
analogous
#2C84B8 #2C3EB8 #602CB8
triadic
#2C3EB8 #B82C3E #3EB82C
tetradic
#2C3EB8 #B82C84 #B8A62C #2CB860
square
#2C3EB8 #B82C84 #B8A62C #2CB860
split-complementary
#2C3EB8 #B8602C #84B82C
monochromatic
#141D55 #202D87 #2C3EB8 #4D5ED4 #7E8BE0

Accessibility & contrast

On white

8.44
#2C3EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2C3EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3EB8
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3EB8#FFFFFF#000000##FFFFFF
##2C3EB81.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0047B6
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c3eb8;
/* rgb */ color: rgb(44, 62, 184);
/* oklch */ color: oklch(43.5% 0.191 269.7);
Tailwind
colors: {
  custom: {
    50: '#7b73ce',
    500: '#2c3eb8',
    950: '#000000',
  },
}
SCSS
$custom: #2c3eb8;
$custom-light: #7b73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3eb8",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 232.286,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43514,
    "c": 0.19136,
    "h": 269.7
  },
  "luminance": 0.07441
}

Semantic roles & 50–950 ramp

primary
#2C3EB8
secondary
#C9BE77
accent
#D043E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2C3EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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