#2B5DAE#2B5DAE

#2B5DAE is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.9% C 0.140 H 259.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#2B5DAE
RGBrgb(43, 93, 174)
HSLhsl(217, 60%, 43%)
HSVhsv(217, 75%, 68%)
CMYKcmyk(75.3%, 46.6%, 0%, 31.8%)
CIE-LABlab(40.24, 12.17, -48.13)
CIE-LCHlch(40.24, 49.64, 284.20°)
OKLaboklab(48.86% -0.0252 -0.138)
OKLCHoklch(48.86% 0.14 259.7)
XYZxyz(12.5478, 11.3969, 41.5747)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5DAE #AE7C2B
analogous
#2B9FAE #2B5DAE #3A2BAE
triadic
#2B5DAE #AE2B5D #5DAE2B
tetradic
#2B5DAE #AE2B9F #AE7C2B #2BAE3A
square
#2B5DAE #AE2B9F #AE7C2B #2BAE3A
split-complementary
#2B5DAE #AE3A2B #9FAE2B
monochromatic
#13294C #1F437D #2B5DAE #457BD1 #769EDD

Accessibility & contrast

On white

6.40
#2B5DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B5DAE
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5DAE#FFFFFF#000000##FFFFFF
##2B5DAE1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3265B1
Deuteranopia (green-blind)
#1359AC
Tritanopia (blue-blind)
#00707D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b5dae;
/* rgb */ color: rgb(43, 93, 174);
/* oklch */ color: oklch(48.9% 0.140 259.7);
Tailwind
colors: {
  custom: {
    50: '#778ac7',
    500: '#2b5dae',
    950: '#000000',
  },
}
SCSS
$custom: #2b5dae;
$custom-light: #778ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5dae",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 174
  },
  "hsl": {
    "h": 217.099,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48864,
    "c": 0.1403,
    "h": 259.7
  },
  "luminance": 0.11398
}

Semantic roles & 50–950 ramp

primary
#2B5DAE
secondary
#C5A470
accent
#A744E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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