#2B5AAE#2B5AAE

#2B5AAE is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.2% C 0.144 H 261.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#2B5AAE
RGBrgb(43, 90, 174)
HSLhsl(218, 60%, 43%)
HSVhsv(218, 75%, 68%)
CMYKcmyk(75.3%, 48.3%, 0%, 31.8%)
CIE-LABlab(39.38, 14.13, -49.51)
CIE-LCHlch(39.38, 51.49, 285.93°)
OKLaboklab(48.2% -0.0226 -0.1422)
OKLCHoklch(48.2% 0.144 261)
XYZxyz(12.2897, 10.8805, 41.4886)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5AAE #AE7F2B
analogous
#2B9CAE #2B5AAE #3D2BAE
triadic
#2B5AAE #AE2B5A #5AAE2B
tetradic
#2B5AAE #AE2B9C #AE7F2B #2BAE3D
square
#2B5AAE #AE2B9C #AE7F2B #2BAE3D
split-complementary
#2B5AAE #AE3D2B #9CAE2B
monochromatic
#13274C #1F417D #2B5AAE #4577D1 #769BDD

Accessibility & contrast

On white

6.61
#2B5AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2B5AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5AAE
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5AAE#FFFFFF#000000##FFFFFF
##2B5AAE1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B63B1
Deuteranopia (green-blind)
#0157AC
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b5aae;
/* rgb */ color: rgb(43, 90, 174);
/* oklch */ color: oklch(48.2% 0.144 261.0);
Tailwind
colors: {
  custom: {
    50: '#7788c7',
    500: '#2b5aae',
    950: '#000000',
  },
}
SCSS
$custom: #2b5aae;
$custom-light: #7788c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5aae",
  "rgb": {
    "r": 43,
    "g": 90,
    "b": 174
  },
  "hsl": {
    "h": 218.473,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48201,
    "c": 0.14395,
    "h": 261
  },
  "luminance": 0.10882
}

Semantic roles & 50–950 ramp

primary
#2B5AAE
secondary
#C5A670
accent
#AA44E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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