#2B5EA9#2B5EA9

#2B5EA9 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.7% C 0.132 H 258.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#2B5EA9
RGBrgb(43, 94, 169)
HSLhsl(216, 59%, 42%)
HSVhsv(216, 75%, 66%)
CMYKcmyk(74.6%, 44.4%, 0%, 33.7%)
CIE-LABlab(40.22, 9.61, -45.21)
CIE-LCHlch(40.22, 46.22, 282.00°)
OKLaboklab(48.74% -0.027 -0.1294)
OKLCHoklch(48.74% 0.132 258.2)
XYZxyz(12.1578, 11.3822, 39.0847)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5EA9 #A9762B
analogous
#2B9DA9 #2B5EA9 #372BA9
triadic
#2B5EA9 #A92B5E #5EA92B
tetradic
#2B5EA9 #A92B9D #A9762B #2BA937
square
#2B5EA9 #A92B9D #A9762B #2BA937
split-complementary
#2B5EA9 #A9372B #9DA92B
monochromatic
#122847 #1F4378 #2B5EA9 #427BCF #739DDB

Accessibility & contrast

On white

6.41
#2B5EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2B5EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5EA9
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5EA9#FFFFFF#000000##FFFFFF
##2B5EA91.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3865AC
Deuteranopia (green-blind)
#2059A7
Tritanopia (blue-blind)
#00707B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b5ea9;
/* rgb */ color: rgb(43, 94, 169);
/* oklch */ color: oklch(48.7% 0.132 258.2);
Tailwind
colors: {
  custom: {
    50: '#768bc3',
    500: '#2b5ea9',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ea9;
$custom-light: #768bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ea9",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 169
  },
  "hsl": {
    "h": 215.714,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48744,
    "c": 0.13222,
    "h": 258.2
  },
  "luminance": 0.11384
}

Semantic roles & 50–950 ramp

primary
#2B5EA9
secondary
#C3A06D
accent
#A345E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2B5EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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