#2C4BB2#2C4BB2

#2C4BB2 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.168 H 266.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2C4BB2
RGBrgb(44, 75, 178)
HSLhsl(226, 60%, 44%)
HSVhsv(226, 75%, 70%)
CMYKcmyk(75.3%, 57.9%, 0%, 30.2%)
CIE-LABlab(35.56, 25.69, -58.06)
CIE-LCHlch(35.56, 63.49, 293.87°)
OKLaboklab(45.41% -0.0095 -0.1675)
OKLCHoklch(45.41% 0.168 266.7)
XYZxyz(11.5879, 8.7807, 43.1950)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4BB2 #B2932C
analogous
#2C8EB2 #2C4BB2 #502CB2
triadic
#2C4BB2 #B22C4B #4BB22C
tetradic
#2C4BB2 #B22C8E #B2932C #2CB250
square
#2C4BB2 #B22C8E #B2932C #2CB250
split-complementary
#2C4BB2 #B2502C #8EB22C
monochromatic
#142250 #203681 #2C4BB2 #4969D2 #7A91DE

Accessibility & contrast

On white

7.62
#2C4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2C4BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4BB2
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4BB2#FFFFFF#000000##FFFFFF
##2C4BB21.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c4bb2;
/* rgb */ color: rgb(44, 75, 178);
/* oklch */ color: oklch(45.4% 0.168 266.7);
Tailwind
colors: {
  custom: {
    50: '#797cca',
    500: '#2c4bb2',
    950: '#000000',
  },
}
SCSS
$custom: #2c4bb2;
$custom-light: #797cca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4bb2",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 226.119,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45406,
    "c": 0.16781,
    "h": 266.7
  },
  "luminance": 0.08782
}

Semantic roles & 50–950 ramp

primary
#2C4BB2
secondary
#C6B373
accent
#BF44E4
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C4BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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