#2B56AF#2B56AF

#2B56AF is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.4% C 0.150 H 262.7°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2B56AF
RGBrgb(43, 86, 175)
HSLhsl(220, 61%, 43%)
HSVhsv(220, 75%, 69%)
CMYKcmyk(75.4%, 50.9%, 0%, 31.4%)
CIE-LABlab(38.31, 17.15, -51.83)
CIE-LCHlch(38.31, 54.59, 288.31°)
OKLaboklab(47.41% -0.0191 -0.149)
OKLCHoklch(47.41% 0.15 262.7)
XYZxyz(12.0591, 10.2630, 41.8945)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B56AF #AF842B
analogous
#2B98AF #2B56AF #422BAF
triadic
#2B56AF #AF2B56 #56AF2B
tetradic
#2B56AF #AF2B98 #AF842B #2BAF42
square
#2B56AF #AF2B98 #AF842B #2BAF42
split-complementary
#2B56AF #AF422B #98AF2B
monochromatic
#13264D #1F3E7E #2B56AF #4673D1 #7798DE

Accessibility & contrast

On white

6.88
#2B56AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B56AF
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B56AF#FFFFFF#000000##FFFFFF
##2B56AF1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F61B2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b56af;
/* rgb */ color: rgb(43, 86, 175);
/* oklch */ color: oklch(47.4% 0.150 262.7);
Tailwind
colors: {
  custom: {
    50: '#7785c7',
    500: '#2b56af',
    950: '#000000',
  },
}
SCSS
$custom: #2b56af;
$custom-light: #7785c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b56af",
  "rgb": {
    "r": 43,
    "g": 86,
    "b": 175
  },
  "hsl": {
    "h": 220.455,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47406,
    "c": 0.15026,
    "h": 262.7
  },
  "luminance": 0.10264
}

Semantic roles & 50–950 ramp

primary
#2B56AF
secondary
#C5AA70
accent
#B044E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B56AF

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

Preview Lab → · Contrast checker → · Palette generator →

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