#2B56AA#2B56AA

#2B56AA is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.0% C 0.143 H 262.1°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2B56AA
RGBrgb(43, 86, 170)
HSLhsl(220, 60%, 42%)
HSVhsv(220, 75%, 67%)
CMYKcmyk(74.7%, 49.4%, 0%, 33.3%)
CIE-LABlab(37.97, 15.23, -49.42)
CIE-LCHlch(37.97, 51.71, 287.13°)
OKLaboklab(47.04% -0.0198 -0.1419)
OKLCHoklch(47.04% 0.143 262.1)
XYZxyz(11.5771, 10.0702, 39.3560)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B56AA #AA7F2B
analogous
#2B96AA #2B56AA #402BAA
triadic
#2B56AA #AA2B56 #56AA2B
tetradic
#2B56AA #AA2B96 #AA7F2B #2BAA40
square
#2B56AA #AA2B96 #AA7F2B #2BAA40
split-complementary
#2B56AA #AA402B #96AA2B
monochromatic
#122548 #1F3D79 #2B56AA #4372CF #7497DC

Accessibility & contrast

On white

6.97
#2B56AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2B56AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B56AA
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B56AA#FFFFFF#000000##FFFFFF
##2B56AA1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2660AD
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b56aa;
/* rgb */ color: rgb(43, 86, 170);
/* oklch */ color: oklch(47.0% 0.143 262.1);
Tailwind
colors: {
  custom: {
    50: '#7685c4',
    500: '#2b56aa',
    950: '#000000',
  },
}
SCSS
$custom: #2b56aa;
$custom-light: #7685c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b56aa",
  "rgb": {
    "r": 43,
    "g": 86,
    "b": 170
  },
  "hsl": {
    "h": 219.685,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47035,
    "c": 0.14332,
    "h": 262.1
  },
  "luminance": 0.10071
}

Semantic roles & 50–950 ramp

primary
#2B56AA
secondary
#C3A66E
accent
#AD45E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B56AA

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

Preview Lab → · Contrast checker → · Palette generator →

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