#2B5DAA#2B5DAA

#2B5DAA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.6% C 0.135 H 258.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#2B5DAA
RGBrgb(43, 93, 170)
HSLhsl(216, 60%, 42%)
HSVhsv(216, 75%, 67%)
CMYKcmyk(74.7%, 45.3%, 0%, 33.3%)
CIE-LABlab(39.99, 10.64, -46.17)
CIE-LCHlch(39.99, 47.38, 282.98°)
OKLaboklab(48.59% -0.0259 -0.1323)
OKLCHoklch(48.59% 0.135 258.9)
XYZxyz(12.1637, 11.2432, 39.5515)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5DAA #AA782B
analogous
#2B9DAA #2B5DAA #392BAA
triadic
#2B5DAA #AA2B5D #5DAA2B
tetradic
#2B5DAA #AA2B9D #AA782B #2BAA39
square
#2B5DAA #AA2B9D #AA782B #2BAA39
split-complementary
#2B5DAA #AA392B #9DAA2B
monochromatic
#122848 #1F4279 #2B5DAA #437ACF #749DDC

Accessibility & contrast

On white

6.46
#2B5DAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2B5DAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5DAA
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5DAA#FFFFFF#000000##FFFFFF
##2B5DAA1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3664AD
Deuteranopia (green-blind)
#1C59A8
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2b5daa;
/* rgb */ color: rgb(43, 93, 170);
/* oklch */ color: oklch(48.6% 0.135 258.9);
Tailwind
colors: {
  custom: {
    50: '#768ac4',
    500: '#2b5daa',
    950: '#000000',
  },
}
SCSS
$custom: #2b5daa;
$custom-light: #768ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5daa",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 170
  },
  "hsl": {
    "h": 216.378,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48587,
    "c": 0.13479,
    "h": 258.9
  },
  "luminance": 0.11245
}

Semantic roles & 50–950 ramp

primary
#2B5DAA
secondary
#C3A26E
accent
#A545E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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