#2B5EB4#2B5EB4

#2B5EB4 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.5% C 0.147 H 260.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#2B5EB4
RGBrgb(43, 94, 180)
HSLhsl(218, 61%, 44%)
HSVhsv(218, 76%, 71%)
CMYKcmyk(76.1%, 47.8%, 0%, 29.4%)
CIE-LABlab(40.92, 13.82, -50.57)
CIE-LCHlch(40.92, 52.42, 285.29°)
OKLaboklab(49.51% -0.025 -0.1452)
OKLCHoklch(49.51% 0.147 260.2)
XYZxyz(13.2342, 11.8128, 44.7538)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5EB4 #B4812B
analogous
#2BA2B4 #2B5EB4 #3C2BB4
triadic
#2B5EB4 #B42B5E #5EB42B
tetradic
#2B5EB4 #B42BA2 #B4812B #2BB43C
square
#2B5EB4 #B42BA2 #B4812B #2BB43C
split-complementary
#2B5EB4 #B43C2B #A2B42B
monochromatic
#132A51 #1F4483 #2B5EB4 #497CD3 #7AA0DF

Accessibility & contrast

On white

6.24
#2B5EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2B5EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5EB4
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5EB4#FFFFFF#000000##FFFFFF
##2B5EB41.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F67B7
Deuteranopia (green-blind)
#045BB2
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b5eb4;
/* rgb */ color: rgb(43, 94, 180);
/* oklch */ color: oklch(49.5% 0.147 260.2);
Tailwind
colors: {
  custom: {
    50: '#788bcb',
    500: '#2b5eb4',
    950: '#000000',
  },
}
SCSS
$custom: #2b5eb4;
$custom-light: #788bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5eb4",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 180
  },
  "hsl": {
    "h": 217.664,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49509,
    "c": 0.14734,
    "h": 260.2
  },
  "luminance": 0.11814
}

Semantic roles & 50–950 ramp

primary
#2B5EB4
secondary
#C7A873
accent
#A943E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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