#2B54B3#2B54B3

#2B54B3 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.3% C 0.158 H 263.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#2B54B3
RGBrgb(43, 84, 179)
HSLhsl(222, 61%, 44%)
HSVhsv(222, 76%, 70%)
CMYKcmyk(76%, 53.1%, 0%, 29.8%)
CIE-LABlab(38.03, 20.00, -54.63)
CIE-LCHlch(38.03, 58.18, 290.11°)
OKLaboklab(47.29% -0.0171 -0.1573)
OKLCHoklch(47.29% 0.158 263.8)
XYZxyz(12.3004, 10.1075, 43.9418)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B54B3 #B38A2B
analogous
#2B98B3 #2B54B3 #462BB3
triadic
#2B54B3 #B32B54 #54B32B
tetradic
#2B54B3 #B32B98 #B38A2B #2BB346
square
#2B54B3 #B32B98 #B38A2B #2BB346
split-complementary
#2B54B3 #B3462B #98B32B
monochromatic
#132650 #1F3D82 #2B54B3 #4872D3 #7998DF

Accessibility & contrast

On white

6.95
#2B54B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2B54B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B54B3
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B54B3#FFFFFF#000000##FFFFFF
##2B54B31.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F60B6
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b54b3;
/* rgb */ color: rgb(43, 84, 179);
/* oklch */ color: oklch(47.3% 0.158 263.8);
Tailwind
colors: {
  custom: {
    50: '#7883ca',
    500: '#2b54b3',
    950: '#000000',
  },
}
SCSS
$custom: #2b54b3;
$custom-light: #7883ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b54b3",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 179
  },
  "hsl": {
    "h": 221.912,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47286,
    "c": 0.15826,
    "h": 263.8
  },
  "luminance": 0.10109
}

Semantic roles & 50–950 ramp

primary
#2B54B3
secondary
#C7AE73
accent
#B443E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2B54B3

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

Preview Lab → · Contrast checker → · Palette generator →

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