#2C4FBA#2C4FBA

#2C4FBA is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.174 H 266.0°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#2C4FBA
RGBrgb(44, 79, 186)
HSLhsl(225, 62%, 45%)
HSVhsv(225, 76%, 73%)
CMYKcmyk(76.3%, 57.5%, 0%, 27.1%)
CIE-LABlab(37.25, 26.07, -60.03)
CIE-LCHlch(37.25, 65.45, 293.48°)
OKLaboklab(46.87% -0.0121 -0.1733)
OKLCHoklch(46.87% 0.174 266)
XYZxyz(12.6945, 9.6712, 47.6425)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4FBA #BA972C
analogous
#2C96BA #2C4FBA #502CBA
triadic
#2C4FBA #BA2C4F #4FBA2C
tetradic
#2C4FBA #BA2C96 #BA972C #2CBA50
square
#2C4FBA #BA2C96 #BA972C #2CBA50
split-complementary
#2C4FBA #BA502C #96BA2C
monochromatic
#152557 #203A89 #2C4FBA #4E6FD5 #8098E1

Accessibility & contrast

On white

7.16
#2C4FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2C4FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4FBA
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4FBA#FFFFFF#000000##FFFFFF
##2C4FBA1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2c4fba;
/* rgb */ color: rgb(44, 79, 186);
/* oklch */ color: oklch(46.9% 0.174 266.0);
Tailwind
colors: {
  custom: {
    50: '#7a7fd0',
    500: '#2c4fba',
    950: '#000000',
  },
}
SCSS
$custom: #2c4fba;
$custom-light: #7a7fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4fba",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 225.211,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46867,
    "c": 0.17369,
    "h": 266
  },
  "luminance": 0.09673
}

Semantic roles & 50–950 ramp

primary
#2C4FBA
secondary
#CAB678
accent
#BD43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2C4FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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