#2B4AC4#2B4AC4

#2B4AC4 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.7% C 0.193 H 267.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2B4AC4
RGBrgb(43, 74, 196)
HSLhsl(228, 64%, 47%)
HSVhsv(228, 78%, 77%)
CMYKcmyk(78.1%, 62.2%, 0%, 23.1%)
CIE-LABlab(36.73, 32.96, -66.72)
CIE-LCHlch(36.73, 74.42, 296.29°)
OKLaboklab(46.73% -0.0095 -0.193)
OKLCHoklch(46.73% 0.193 267.2)
XYZxyz(13.4054, 9.3951, 53.3208)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4AC4 #C4A52B
analogous
#2B97C4 #2B4AC4 #592BC4
triadic
#2B4AC4 #C42B4A #4AC42B
tetradic
#2B4AC4 #C42B97 #C4A52B #2BC459
square
#2B4AC4 #C42B97 #C4A52B #2BC459
split-complementary
#2B4AC4 #C4592B #97C42B
monochromatic
#152460 #203792 #2B4AC4 #536ED9 #8598E4

Accessibility & contrast

On white

7.29
#2B4AC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2B4AC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4AC4
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4AC4#FFFFFF#000000##FFFFFF
##2B4AC41.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#004FC2
Tritanopia (blue-blind)
#006A80
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b4ac4;
/* rgb */ color: rgb(43, 74, 196);
/* oklch */ color: oklch(46.7% 0.193 267.2);
Tailwind
colors: {
  custom: {
    50: '#7d7cd7',
    500: '#2b4ac4',
    950: '#000000',
  },
}
SCSS
$custom: #2b4ac4;
$custom-light: #7d7cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4ac4",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 196
  },
  "hsl": {
    "h": 227.843,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46729,
    "c": 0.19321,
    "h": 267.2
  },
  "luminance": 0.09397
}

Semantic roles & 50–950 ramp

primary
#2B4AC4
secondary
#CEBD7D
accent
#C541E7
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2B4AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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