#2C4EB3#2C4EB3

#2C4EB3 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.165 H 265.9°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#2C4EB3
RGBrgb(44, 78, 179)
HSLhsl(225, 61%, 44%)
HSVhsv(225, 75%, 70%)
CMYKcmyk(75.4%, 56.4%, 0%, 29.8%)
CIE-LABlab(36.44, 24.09, -57.22)
CIE-LCHlch(36.44, 62.09, 292.83°)
OKLaboklab(46.09% -0.0117 -0.165)
OKLCHoklch(46.09% 0.165 265.9)
XYZxyz(11.8969, 9.2376, 43.7951)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4EB3 #B3912C
analogous
#2C91B3 #2C4EB3 #4D2CB3
triadic
#2C4EB3 #B32C4E #4EB32C
tetradic
#2C4EB3 #B32C91 #B3912C #2CB34D
square
#2C4EB3 #B32C91 #B3912C #2CB34D
split-complementary
#2C4EB3 #B34D2C #91B32C
monochromatic
#142351 #203982 #2C4EB3 #4A6CD2 #7B94DF

Accessibility & contrast

On white

7.37
#2C4EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2C4EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4EB3
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4EB3#FFFFFF#000000##FFFFFF
##2C4EB31.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c4eb3;
/* rgb */ color: rgb(44, 78, 179);
/* oklch */ color: oklch(46.1% 0.165 265.9);
Tailwind
colors: {
  custom: {
    50: '#797fca',
    500: '#2c4eb3',
    950: '#000000',
  },
}
SCSS
$custom: #2c4eb3;
$custom-light: #797fca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4eb3",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 224.889,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46091,
    "c": 0.16544,
    "h": 265.9
  },
  "luminance": 0.09239
}

Semantic roles & 50–950 ramp

primary
#2C4EB3
secondary
#C7B274
accent
#BB44E4
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2C4EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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