#2C4BB3#2C4BB3

#2C4BB3 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.5% C 0.169 H 266.8°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#2C4BB3
RGBrgb(44, 75, 179)
HSLhsl(226, 61%, 44%)
HSVhsv(226, 75%, 70%)
CMYKcmyk(75.4%, 58.1%, 0%, 29.8%)
CIE-LABlab(35.64, 26.07, -58.53)
CIE-LCHlch(35.64, 64.07, 294.01°)
OKLaboklab(45.49% -0.0095 -0.1689)
OKLCHoklch(45.49% 0.169 266.8)
XYZxyz(11.6886, 8.8210, 43.7257)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4BB3 #B3942C
analogous
#2C8EB3 #2C4BB3 #502CB3
triadic
#2C4BB3 #B32C4B #4BB32C
tetradic
#2C4BB3 #B32C8E #B3942C #2CB350
square
#2C4BB3 #B32C8E #B3942C #2CB350
split-complementary
#2C4BB3 #B3502C #8EB32C
monochromatic
#142251 #203682 #2C4BB3 #4A69D2 #7B92DF

Accessibility & contrast

On white

7.60
#2C4BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4BB3
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4BB3#FFFFFF#000000##FFFFFF
##2C4BB31.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c4bb3;
/* rgb */ color: rgb(44, 75, 179);
/* oklch */ color: oklch(45.5% 0.169 266.8);
Tailwind
colors: {
  custom: {
    50: '#797ccb',
    500: '#2c4bb3',
    950: '#000000',
  },
}
SCSS
$custom: #2c4bb3;
$custom-light: #797ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4bb3",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 179
  },
  "hsl": {
    "h": 226.222,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4549,
    "c": 0.16917,
    "h": 266.8
  },
  "luminance": 0.08822
}

Semantic roles & 50–950 ramp

primary
#2C4BB3
secondary
#C7B474
accent
#BF44E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C4BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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