#2B55B2#2B55B2

#2B55B2 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.4% C 0.156 H 263.4°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2B55B2
RGBrgb(43, 85, 178)
HSLhsl(221, 61%, 43%)
HSVhsv(221, 76%, 70%)
CMYKcmyk(75.8%, 52.2%, 0%, 30.2%)
CIE-LABlab(38.24, 18.96, -53.71)
CIE-LCHlch(38.24, 56.96, 289.44°)
OKLaboklab(47.42% -0.018 -0.1546)
OKLCHoklch(47.42% 0.156 263.4)
XYZxyz(12.2778, 10.2236, 43.4371)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B55B2 #B2882B
analogous
#2B98B2 #2B55B2 #442BB2
triadic
#2B55B2 #B22B55 #55B22B
tetradic
#2B55B2 #B22B98 #B2882B #2BB244
square
#2B55B2 #B22B98 #B2882B #2BB244
split-complementary
#2B55B2 #B2442B #98B22B
monochromatic
#13264F #1F3D81 #2B55B2 #4873D3 #7998DF

Accessibility & contrast

On white

6.90
#2B55B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B55B2
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B55B2#FFFFFF#000000##FFFFFF
##2B55B21.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1661B5
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b55b2;
/* rgb */ color: rgb(43, 85, 178);
/* oklch */ color: oklch(47.4% 0.156 263.4);
Tailwind
colors: {
  custom: {
    50: '#7884ca',
    500: '#2b55b2',
    950: '#000000',
  },
}
SCSS
$custom: #2b55b2;
$custom-light: #7884ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b55b2",
  "rgb": {
    "r": 43,
    "g": 85,
    "b": 178
  },
  "hsl": {
    "h": 221.333,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4742,
    "c": 0.15564,
    "h": 263.4
  },
  "luminance": 0.10225
}

Semantic roles & 50–950 ramp

primary
#2B55B2
secondary
#C7AC72
accent
#B244E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2B55B2

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

Preview Lab → · Contrast checker → · Palette generator →

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