#2C4BB9#2C4BB9

#2C4BB9 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.177 H 267.0°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#2C4BB9
RGBrgb(44, 75, 185)
HSLhsl(227, 62%, 45%)
HSVhsv(227, 76%, 73%)
CMYKcmyk(76.2%, 59.5%, 0%, 27.5%)
CIE-LABlab(36.12, 28.32, -61.28)
CIE-LCHlch(36.12, 67.51, 294.81°)
OKLaboklab(46% -0.0093 -0.177)
OKLCHoklch(46% 0.177 267)
XYZxyz(12.3087, 9.0690, 46.9913)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4BB9 #B99A2C
analogous
#2C91B9 #2C4BB9 #542CB9
triadic
#2C4BB9 #B92C4B #4BB92C
tetradic
#2C4BB9 #B92C91 #B99A2C #2CB954
square
#2C4BB9 #B92C91 #B99A2C #2CB954
split-complementary
#2C4BB9 #B9542C #91B92C
monochromatic
#142356 #203788 #2C4BB9 #4D6BD5 #7F94E1

Accessibility & contrast

On white

7.46
#2C4BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4BB9
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4BB9#FFFFFF#000000##FFFFFF
##2C4BB91.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2c4bb9;
/* rgb */ color: rgb(44, 75, 185);
/* oklch */ color: oklch(46.0% 0.177 267.0);
Tailwind
colors: {
  custom: {
    50: '#7a7ccf',
    500: '#2c4bb9',
    950: '#000000',
  },
}
SCSS
$custom: #2c4bb9;
$custom-light: #7a7ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4bb9",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 185
  },
  "hsl": {
    "h": 226.809,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45998,
    "c": 0.17726,
    "h": 267
  },
  "luminance": 0.0907
}

Semantic roles & 50–950 ramp

primary
#2C4BB9
secondary
#C9B778
accent
#C143E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2C4BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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