#2B5FAE#2B5FAE

#2B5FAE is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.3% C 0.138 H 258.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#2B5FAE
RGBrgb(43, 95, 174)
HSLhsl(216, 60%, 43%)
HSVhsv(216, 75%, 68%)
CMYKcmyk(75.3%, 45.4%, 0%, 31.8%)
CIE-LABlab(40.82, 10.88, -47.20)
CIE-LCHlch(40.82, 48.44, 282.98°)
OKLaboklab(49.31% -0.0269 -0.1352)
OKLCHoklch(49.31% 0.138 258.7)
XYZxyz(12.7257, 11.7526, 41.6340)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5FAE #AE7A2B
analogous
#2BA1AE #2B5FAE #382BAE
triadic
#2B5FAE #AE2B5F #5FAE2B
tetradic
#2B5FAE #AE2BA1 #AE7A2B #2BAE38
square
#2B5FAE #AE2BA1 #AE7A2B #2BAE38
split-complementary
#2B5FAE #AE382B #A1AE2B
monochromatic
#13294C #1F447D #2B5FAE #457DD1 #769FDD

Accessibility & contrast

On white

6.27
#2B5FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2B5FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5FAE
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5FAE#FFFFFF#000000##FFFFFF
##2B5FAE1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3667B1
Deuteranopia (green-blind)
#1B5BAC
Tritanopia (blue-blind)
#00727E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b5fae;
/* rgb */ color: rgb(43, 95, 174);
/* oklch */ color: oklch(49.3% 0.138 258.7);
Tailwind
colors: {
  custom: {
    50: '#778bc7',
    500: '#2b5fae',
    950: '#000000',
  },
}
SCSS
$custom: #2b5fae;
$custom-light: #778bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5fae",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 174
  },
  "hsl": {
    "h": 216.183,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49311,
    "c": 0.13791,
    "h": 258.7
  },
  "luminance": 0.11754
}

Semantic roles & 50–950 ramp

primary
#2B5FAE
secondary
#C5A370
accent
#A444E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2B5FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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