#2C4DB3#2C4DB3

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

Color values

HEX#2C4DB3
RGBrgb(44, 77, 179)
HSLhsl(225, 61%, 44%)
HSVhsv(225, 75%, 70%)
CMYKcmyk(75.4%, 57%, 0%, 29.8%)
CIE-LABlab(36.17, 24.75, -57.66)
CIE-LCHlch(36.17, 62.75, 293.23°)
OKLaboklab(45.89% -0.011 -0.1663)
OKLCHoklch(45.89% 0.167 266.2)
XYZxyz(11.8264, 9.0966, 43.7716)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4DB3 #B3922C
analogous
#2C90B3 #2C4DB3 #4E2CB3
triadic
#2C4DB3 #B32C4D #4DB32C
tetradic
#2C4DB3 #B32C90 #B3922C #2CB34E
square
#2C4DB3 #B32C90 #B3922C #2CB34E
split-complementary
#2C4DB3 #B34E2C #90B32C
monochromatic
#142351 #203882 #2C4DB3 #4A6BD2 #7B93DF

Accessibility & contrast

On white

7.45
#2C4DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4DB3
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4DB3#FFFFFF#000000##FFFFFF
##2C4DB31.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c4db3;
/* rgb */ color: rgb(44, 77, 179);
/* oklch */ color: oklch(45.9% 0.167 266.2);
Tailwind
colors: {
  custom: {
    50: '#797ecb',
    500: '#2c4db3',
    950: '#000000',
  },
}
SCSS
$custom: #2c4db3;
$custom-light: #797ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4db3",
  "rgb": {
    "r": 44,
    "g": 77,
    "b": 179
  },
  "hsl": {
    "h": 225.333,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45889,
    "c": 0.16669,
    "h": 266.2
  },
  "luminance": 0.09098
}

Semantic roles & 50–950 ramp

primary
#2C4DB3
secondary
#C7B374
accent
#BD44E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C4DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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