#2B5EB9#2B5EB9

#2B5EB9 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.9% C 0.154 H 260.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#2B5EB9
RGBrgb(43, 94, 185)
HSLhsl(218, 62%, 45%)
HSVhsv(218, 77%, 73%)
CMYKcmyk(76.8%, 49.2%, 0%, 27.5%)
CIE-LABlab(41.25, 15.74, -52.96)
CIE-LCHlch(41.25, 55.25, 286.55°)
OKLaboklab(49.87% -0.0243 -0.1522)
OKLCHoklch(49.87% 0.154 260.9)
XYZxyz(13.7528, 12.0202, 47.4848)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5EB9 #B9862B
analogous
#2BA5B9 #2B5EB9 #3F2BB9
triadic
#2B5EB9 #B92B5E #5EB92B
tetradic
#2B5EB9 #B92BA5 #B9862B #2BB93F
square
#2B5EB9 #B92BA5 #B9862B #2BB93F
split-complementary
#2B5EB9 #B93F2B #A5B92B
monochromatic
#142C56 #1F4587 #2B5EB9 #4C7DD5 #7EA1E1

Accessibility & contrast

On white

6.17
#2B5EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2B5EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5EB9
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5EB9#FFFFFF#000000##FFFFFF
##2B5EB91.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2968BC
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2b5eb9;
/* rgb */ color: rgb(43, 94, 185);
/* oklch */ color: oklch(49.9% 0.154 260.9);
Tailwind
colors: {
  custom: {
    50: '#798bcf',
    500: '#2b5eb9',
    950: '#000000',
  },
}
SCSS
$custom: #2b5eb9;
$custom-light: #798bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5eb9",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 185
  },
  "hsl": {
    "h": 218.451,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49869,
    "c": 0.15416,
    "h": 260.9
  },
  "luminance": 0.12022
}

Semantic roles & 50–950 ramp

primary
#2B5EB9
secondary
#C9AC76
accent
#AB42E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2B5EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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