#2B4ED3#2B4ED3

#2B4ED3 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 48.8% C 0.208 H 266.7°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#2B4ED3
RGBrgb(43, 78, 211)
HSLhsl(228, 66%, 50%)
HSVhsv(228, 80%, 83%)
CMYKcmyk(79.6%, 63%, 0%, 17.3%)
CIE-LABlab(39.01, 35.92, -71.69)
CIE-LCHlch(39.01, 80.18, 296.61°)
OKLaboklab(48.81% -0.012 -0.2075)
OKLCHoklch(48.81% 0.208 266.7)
XYZxyz(15.4744, 10.6637, 62.8581)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4ED3 #D3B02B
analogous
#2BA2D3 #2B4ED3 #5C2BD3
triadic
#2B4ED3 #D32B4E #4ED32B
tetradic
#2B4ED3 #D32BA2 #D3B02B #2BD35C
square
#2B4ED3 #D32BA2 #D3B02B #2BD35C
split-complementary
#2B4ED3 #D35C2B #A2D32B
monochromatic
#16286D #213BA0 #2B4ED3 #5D78DE #90A2E8

Accessibility & contrast

On white

6.70
#2B4ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2B4ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B4ED3
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4ED3#FFFFFF#000000##FFFFFF
##2B4ED31.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D7
Deuteranopia (green-blind)
#0054D0
Tritanopia (blue-blind)
#007189
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b4ed3;
/* rgb */ color: rgb(43, 78, 211);
/* oklch */ color: oklch(48.8% 0.208 266.7);
Tailwind
colors: {
  custom: {
    50: '#807fe2',
    500: '#2b4ed3',
    950: '#000000',
  },
}
SCSS
$custom: #2b4ed3;
$custom-light: #807fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4ed3",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 211
  },
  "hsl": {
    "h": 227.5,
    "s": 66.142,
    "l": 49.804
  },
  "oklch": {
    "l": 0.48806,
    "c": 0.20784,
    "h": 266.7
  },
  "luminance": 0.10666
}

Semantic roles & 50–950 ramp

primary
#2B4ED3
secondary
#D3C387
accent
#C63FE9
background
#F8F7FE
surface
#F0EEFC
border
#CBC9D5
text
#0C0A15
muted
#7D7C84

Preview Lab

Preview with #2B4ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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