#2B5EAC#2B5EAC

#2B5EAC is a mid, vivid blue. Relative luminance 0.115; OKLCH L 48.9% C 0.136 H 258.8°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#2B5EAC
RGBrgb(43, 94, 172)
HSLhsl(216, 60%, 42%)
HSVhsv(216, 75%, 67%)
CMYKcmyk(75%, 45.3%, 0%, 32.5%)
CIE-LABlab(40.40, 10.76, -46.69)
CIE-LCHlch(40.40, 47.91, 282.98°)
OKLaboklab(48.95% -0.0264 -0.1338)
OKLCHoklch(48.95% 0.136 258.8)
XYZxyz(12.4426, 11.4962, 40.5849)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5EAC #AC792B
analogous
#2B9FAC #2B5EAC #392BAC
triadic
#2B5EAC #AC2B5E #5EAC2B
tetradic
#2B5EAC #AC2B9F #AC792B #2BAC39
square
#2B5EAC #AC2B9F #AC792B #2BAC39
split-complementary
#2B5EAC #AC392B #9FAC2B
monochromatic
#13284A #1F437B #2B5EAC #447BD0 #759EDC

Accessibility & contrast

On white

6.36
#2B5EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2B5EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5EAC
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5EAC#FFFFFF#000000##FFFFFF
##2B5EAC1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3666AF
Deuteranopia (green-blind)
#1B5AAA
Tritanopia (blue-blind)
#00707C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b5eac;
/* rgb */ color: rgb(43, 94, 172);
/* oklch */ color: oklch(48.9% 0.136 258.8);
Tailwind
colors: {
  custom: {
    50: '#768bc5',
    500: '#2b5eac',
    950: '#000000',
  },
}
SCSS
$custom: #2b5eac;
$custom-light: #768bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5eac",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 172
  },
  "hsl": {
    "h": 216.279,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48949,
    "c": 0.13635,
    "h": 258.8
  },
  "luminance": 0.11498
}

Semantic roles & 50–950 ramp

primary
#2B5EAC
secondary
#C4A26F
accent
#A445E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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