#2C4BBA#2C4BBA

#2C4BBA is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.1% C 0.179 H 267.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#2C4BBA
RGBrgb(44, 75, 186)
HSLhsl(227, 62%, 45%)
HSVhsv(227, 76%, 73%)
CMYKcmyk(76.3%, 59.7%, 0%, 27.1%)
CIE-LABlab(36.20, 28.70, -61.74)
CIE-LCHlch(36.20, 68.08, 294.93°)
OKLaboklab(46.08% -0.0093 -0.1783)
OKLCHoklch(46.08% 0.179 267)
XYZxyz(12.4146, 9.1114, 47.5492)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4BBA #BA9B2C
analogous
#2C92BA #2C4BBA #542CBA
triadic
#2C4BBA #BA2C4B #4BBA2C
tetradic
#2C4BBA #BA2C92 #BA9B2C #2CBA54
square
#2C4BBA #BA2C92 #BA9B2C #2CBA54
split-complementary
#2C4BBA #BA542C #92BA2C
monochromatic
#152357 #203789 #2C4BBA #4E6CD5 #8095E1

Accessibility & contrast

On white

7.44
#2C4BBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2C4BBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4BBA
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4BBA#FFFFFF#000000##FFFFFF
##2C4BBA1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2c4bba;
/* rgb */ color: rgb(44, 75, 186);
/* oklch */ color: oklch(46.1% 0.179 267.0);
Tailwind
colors: {
  custom: {
    50: '#7b7cd0',
    500: '#2c4bba',
    950: '#000000',
  },
}
SCSS
$custom: #2c4bba;
$custom-light: #7b7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4bba",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 186
  },
  "hsl": {
    "h": 226.901,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46084,
    "c": 0.17859,
    "h": 267
  },
  "luminance": 0.09113
}

Semantic roles & 50–950 ramp

primary
#2C4BBA
secondary
#CAB878
accent
#C143E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2C4BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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