#2C4DB2#2C4DB2

#2C4DB2 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.8% C 0.165 H 266.2°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#2C4DB2
RGBrgb(44, 77, 178)
HSLhsl(225, 60%, 44%)
HSVhsv(225, 75%, 70%)
CMYKcmyk(75.3%, 56.7%, 0%, 30.2%)
CIE-LABlab(36.09, 24.37, -57.19)
CIE-LCHlch(36.09, 62.17, 293.08°)
OKLaboklab(45.81% -0.011 -0.165)
OKLCHoklch(45.81% 0.165 266.2)
XYZxyz(11.7256, 9.0563, 43.2409)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4DB2 #B2912C
analogous
#2C90B2 #2C4DB2 #4E2CB2
triadic
#2C4DB2 #B22C4D #4DB22C
tetradic
#2C4DB2 #B22C90 #B2912C #2CB24E
square
#2C4DB2 #B22C90 #B2912C #2CB24E
split-complementary
#2C4DB2 #B24E2C #90B22C
monochromatic
#142350 #203881 #2C4DB2 #496BD2 #7A93DE

Accessibility & contrast

On white

7.47
#2C4DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2C4DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4DB2
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4DB2#FFFFFF#000000##FFFFFF
##2C4DB21.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2c4db2;
/* rgb */ color: rgb(44, 77, 178);
/* oklch */ color: oklch(45.8% 0.165 266.2);
Tailwind
colors: {
  custom: {
    50: '#797eca',
    500: '#2c4db2',
    950: '#000000',
  },
}
SCSS
$custom: #2c4db2;
$custom-light: #797eca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4db2",
  "rgb": {
    "r": 44,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 225.224,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45807,
    "c": 0.16533,
    "h": 266.2
  },
  "luminance": 0.09058
}

Semantic roles & 50–950 ramp

primary
#2C4DB2
secondary
#C6B273
accent
#BC44E4
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C4DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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