#2B54A3#2B54A3

#2B54A3 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.1% C 0.136 H 261.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#2B54A3
RGBrgb(43, 84, 163)
HSLhsl(220, 58%, 40%)
HSVhsv(220, 74%, 64%)
CMYKcmyk(73.6%, 48.5%, 0%, 36.1%)
CIE-LABlab(36.92, 13.87, -46.93)
CIE-LCHlch(36.92, 48.93, 286.46°)
OKLaboklab(46.09% -0.0191 -0.1347)
OKLCHoklch(46.09% 0.136 261.9)
XYZxyz(10.7751, 9.4974, 35.9085)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B54A3 #A37A2B
analogous
#2B90A3 #2B54A3 #3E2BA3
triadic
#2B54A3 #A32B54 #54A32B
tetradic
#2B54A3 #A32B90 #A37A2B #2BA33E
square
#2B54A3 #A32B90 #A37A2B #2BA33E
split-complementary
#2B54A3 #A33E2B #90A32B
monochromatic
#112242 #1E3B73 #2B54A3 #3F6FCC #6F93D9

Accessibility & contrast

On white

7.24
#2B54A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2B54A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B54A3
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B54A3#FFFFFF#000000##FFFFFF
##2B54A31.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295DA6
Deuteranopia (green-blind)
#0652A1
Tritanopia (blue-blind)
#006773
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b54a3;
/* rgb */ color: rgb(43, 84, 163);
/* oklch */ color: oklch(46.1% 0.136 261.9);
Tailwind
colors: {
  custom: {
    50: '#7583bf',
    500: '#2b54a3',
    950: '#000000',
  },
}
SCSS
$custom: #2b54a3;
$custom-light: #7583bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b54a3",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 163
  },
  "hsl": {
    "h": 219.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46086,
    "c": 0.13601,
    "h": 261.9
  },
  "luminance": 0.09499
}

Semantic roles & 50–950 ramp

primary
#2B54A3
secondary
#C0A36A
accent
#AC46E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B54A3

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

Preview Lab → · Contrast checker → · Palette generator →

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