#2B56AE#2B56AE

#2B56AE is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.3% C 0.149 H 262.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2B56AE
RGBrgb(43, 86, 174)
HSLhsl(220, 60%, 43%)
HSVhsv(220, 75%, 68%)
CMYKcmyk(75.3%, 50.6%, 0%, 31.8%)
CIE-LABlab(38.24, 16.76, -51.35)
CIE-LCHlch(38.24, 54.02, 288.08°)
OKLaboklab(47.33% -0.0193 -0.1476)
OKLCHoklch(47.33% 0.149 262.6)
XYZxyz(11.9613, 10.2238, 41.3792)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B56AE #AE832B
analogous
#2B98AE #2B56AE #412BAE
triadic
#2B56AE #AE2B56 #56AE2B
tetradic
#2B56AE #AE2B98 #AE832B #2BAE41
square
#2B56AE #AE2B98 #AE832B #2BAE41
split-complementary
#2B56AE #AE412B #98AE2B
monochromatic
#13254C #1F3E7D #2B56AE #4573D1 #7698DD

Accessibility & contrast

On white

6.90
#2B56AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2B56AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B56AE
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B56AE#FFFFFF#000000##FFFFFF
##2B56AE1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2160B1
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b56ae;
/* rgb */ color: rgb(43, 86, 174);
/* oklch */ color: oklch(47.3% 0.149 262.6);
Tailwind
colors: {
  custom: {
    50: '#7785c7',
    500: '#2b56ae',
    950: '#000000',
  },
}
SCSS
$custom: #2b56ae;
$custom-light: #7785c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b56ae",
  "rgb": {
    "r": 43,
    "g": 86,
    "b": 174
  },
  "hsl": {
    "h": 220.305,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47331,
    "c": 0.14888,
    "h": 262.6
  },
  "luminance": 0.10225
}

Semantic roles & 50–950 ramp

primary
#2B56AE
secondary
#C5A970
accent
#AF44E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B56AE

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

Preview Lab → · Contrast checker → · Palette generator →

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