#2B5EAA#2B5EAA

#2B5EAA is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.8% C 0.134 H 258.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#2B5EAA
RGBrgb(43, 94, 170)
HSLhsl(216, 60%, 42%)
HSVhsv(216, 75%, 67%)
CMYKcmyk(74.7%, 44.7%, 0%, 33.3%)
CIE-LABlab(40.28, 10.00, -45.71)
CIE-LCHlch(40.28, 46.79, 282.34°)
OKLaboklab(48.81% -0.0268 -0.1309)
OKLCHoklch(48.81% 0.134 258.4)
XYZxyz(12.2520, 11.4199, 39.5810)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5EAA #AA772B
analogous
#2B9DAA #2B5EAA #382BAA
triadic
#2B5EAA #AA2B5E #5EAA2B
tetradic
#2B5EAA #AA2B9D #AA772B #2BAA38
square
#2B5EAA #AA2B9D #AA772B #2BAA38
split-complementary
#2B5EAA #AA382B #9DAA2B
monochromatic
#122848 #1F4379 #2B5EAA #437BCF #749DDC

Accessibility & contrast

On white

6.39
#2B5EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B5EAA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5EAA#FFFFFF#000000##FFFFFF
##2B5EAA1.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3865AD
Deuteranopia (green-blind)
#1F5AA8
Tritanopia (blue-blind)
#00707B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b5eaa;
/* rgb */ color: rgb(43, 94, 170);
/* oklch */ color: oklch(48.8% 0.134 258.4);
Tailwind
colors: {
  custom: {
    50: '#768bc4',
    500: '#2b5eaa',
    950: '#000000',
  },
}
SCSS
$custom: #2b5eaa;
$custom-light: #768bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5eaa",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 170
  },
  "hsl": {
    "h": 215.906,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48812,
    "c": 0.1336,
    "h": 258.4
  },
  "luminance": 0.11421
}

Semantic roles & 50–950 ramp

primary
#2B5EAA
secondary
#C3A16E
accent
#A345E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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