#2B54A2#2B54A2

#2B54A2 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.0% C 0.135 H 261.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#2B54A2
RGBrgb(43, 84, 162)
HSLhsl(219, 58%, 40%)
HSVhsv(219, 73%, 64%)
CMYKcmyk(73.5%, 48.1%, 0%, 36.5%)
CIE-LABlab(36.86, 13.48, -46.44)
CIE-LCHlch(36.86, 48.36, 286.19°)
OKLaboklab(46.01% -0.0192 -0.1332)
OKLCHoklch(46.01% 0.135 261.8)
XYZxyz(10.6858, 9.4617, 35.4385)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B54A2 #A2792B
analogous
#2B8FA2 #2B54A2 #3E2BA2
triadic
#2B54A2 #A22B54 #54A22B
tetradic
#2B54A2 #A22B8F #A2792B #2BA23E
square
#2B54A2 #A22B8F #A2792B #2BA23E
split-complementary
#2B54A2 #A23E2B #8FA22B
monochromatic
#112241 #1E3B72 #2B54A2 #3E6FCC #6F93D9

Accessibility & contrast

On white

7.26
#2B54A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2B54A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B54A2
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B54A2#FFFFFF#000000##FFFFFF
##2B54A21.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5DA5
Deuteranopia (green-blind)
#0952A0
Tritanopia (blue-blind)
#006673
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2b54a2;
/* rgb */ color: rgb(43, 84, 162);
/* oklch */ color: oklch(46.0% 0.135 261.8);
Tailwind
colors: {
  custom: {
    50: '#7483be',
    500: '#2b54a2',
    950: '#000000',
  },
}
SCSS
$custom: #2b54a2;
$custom-light: #7483be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b54a2",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 162
  },
  "hsl": {
    "h": 219.328,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46014,
    "c": 0.1346,
    "h": 261.8
  },
  "luminance": 0.09463
}

Semantic roles & 50–950 ramp

primary
#2B54A2
secondary
#C0A269
accent
#AC47E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2B54A2

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

Preview Lab → · Contrast checker → · Palette generator →

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