#2B5EA8#2B5EA8

#2B5EA8 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.7% C 0.131 H 258.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#2B5EA8
RGBrgb(43, 94, 168)
HSLhsl(216, 59%, 41%)
HSVhsv(216, 74%, 66%)
CMYKcmyk(74.4%, 44%, 0%, 34.1%)
CIE-LABlab(40.16, 9.23, -44.72)
CIE-LCHlch(40.16, 45.66, 281.66°)
OKLaboklab(48.68% -0.0272 -0.128)
OKLCHoklch(48.68% 0.131 258)
XYZxyz(12.0643, 11.3448, 38.5921)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5EA8 #A8752B
analogous
#2B9DA8 #2B5EA8 #372BA8
triadic
#2B5EA8 #A82B5E #5EA82B
tetradic
#2B5EA8 #A82B9D #A8752B #2BA837
square
#2B5EA8 #A82B9D #A8752B #2BA837
split-complementary
#2B5EA8 #A8372B #9DA82B
monochromatic
#122747 #1F4377 #2B5EA8 #427BCF #729DDB

Accessibility & contrast

On white

6.42
#2B5EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#2B5EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5EA8
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5EA8#FFFFFF#000000##FFFFFF
##2B5EA81.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3965AB
Deuteranopia (green-blind)
#2259A7
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b5ea8;
/* rgb */ color: rgb(43, 94, 168);
/* oklch */ color: oklch(48.7% 0.131 258.0);
Tailwind
colors: {
  custom: {
    50: '#758bc2',
    500: '#2b5ea8',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ea8;
$custom-light: #758bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ea8",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 168
  },
  "hsl": {
    "h": 215.52,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48677,
    "c": 0.13084,
    "h": 258
  },
  "luminance": 0.11346
}

Semantic roles & 50–950 ramp

primary
#2B5EA8
secondary
#C29F6C
accent
#A245E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2B5EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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