#2C4ABE#2C4ABE

#2C4ABE is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.2% C 0.185 H 267.3°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#2C4ABE
RGBrgb(44, 74, 190)
HSLhsl(228, 62%, 46%)
HSVhsv(228, 77%, 75%)
CMYKcmyk(76.8%, 61.1%, 0%, 25.5%)
CIE-LABlab(36.27, 30.84, -63.97)
CIE-LCHlch(36.27, 71.02, 295.74°)
OKLaboklab(46.24% -0.0086 -0.1849)
OKLCHoklch(46.24% 0.185 267.3)
XYZxyz(12.7785, 9.1493, 49.7977)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4ABE #BEA02C
analogous
#2C93BE #2C4ABE #572CBE
triadic
#2C4ABE #BE2C4A #4ABE2C
tetradic
#2C4ABE #BE2C93 #BEA02C #2CBE57
square
#2C4ABE #BE2C93 #BEA02C #2CBE57
split-complementary
#2C4ABE #BE572C #93BE2C
monochromatic
#15235B #20378C #2C4ABE #516CD7 #8296E2

Accessibility & contrast

On white

7.42
#2C4ABE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2C4ABE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4ABE
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4ABE#FFFFFF#000000##FFFFFF
##2C4ABE1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#004FBC
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2c4abe;
/* rgb */ color: rgb(44, 74, 190);
/* oklch */ color: oklch(46.2% 0.185 267.3);
Tailwind
colors: {
  custom: {
    50: '#7c7cd3',
    500: '#2c4abe',
    950: '#000000',
  },
}
SCSS
$custom: #2c4abe;
$custom-light: #7c7cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4abe",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 227.671,
    "s": 62.393,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4624,
    "c": 0.1851,
    "h": 267.3
  },
  "luminance": 0.09151
}

Semantic roles & 50–950 ramp

primary
#2C4ABE
secondary
#CBBB7B
accent
#C442E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2C4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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