#2B54B1#2B54B1

#2B54B1 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.1% C 0.156 H 263.6°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#2B54B1
RGBrgb(43, 84, 177)
HSLhsl(222, 61%, 43%)
HSVhsv(222, 76%, 69%)
CMYKcmyk(75.7%, 52.5%, 0%, 30.6%)
CIE-LABlab(37.89, 19.24, -53.69)
CIE-LCHlch(37.89, 57.03, 289.71°)
OKLaboklab(47.13% -0.0173 -0.1545)
OKLCHoklch(47.13% 0.156 263.6)
XYZxyz(12.0996, 10.0272, 42.8842)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B54B1 #B1882B
analogous
#2B97B1 #2B54B1 #452BB1
triadic
#2B54B1 #B12B54 #54B12B
tetradic
#2B54B1 #B12B97 #B1882B #2BB145
square
#2B54B1 #B12B97 #B1882B #2BB145
split-complementary
#2B54B1 #B1452B #97B12B
monochromatic
#13254F #1F3D80 #2B54B1 #4772D2 #7897DE

Accessibility & contrast

On white

6.99
#2B54B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B54B1
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B54B1#FFFFFF#000000##FFFFFF
##2B54B11.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1460B4
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b54b1;
/* rgb */ color: rgb(43, 84, 177);
/* oklch */ color: oklch(47.1% 0.156 263.6);
Tailwind
colors: {
  custom: {
    50: '#7883c9',
    500: '#2b54b1',
    950: '#000000',
  },
}
SCSS
$custom: #2b54b1;
$custom-light: #7883c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b54b1",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 177
  },
  "hsl": {
    "h": 221.642,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47132,
    "c": 0.15551,
    "h": 263.6
  },
  "luminance": 0.10029
}

Semantic roles & 50–950 ramp

primary
#2B54B1
secondary
#C6AC72
accent
#B344E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2B54B1

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

Preview Lab → · Contrast checker → · Palette generator →

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