#2B5EA4#2B5EA4

#2B5EA4 is a mid, vivid cyan. Relative luminance 0.112; OKLCH L 48.4% C 0.125 H 257.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#2B5EA4
RGBrgb(43, 94, 164)
HSLhsl(215, 58%, 41%)
HSVhsv(215, 74%, 64%)
CMYKcmyk(73.8%, 42.7%, 0%, 35.7%)
CIE-LABlab(39.91, 7.71, -42.74)
CIE-LCHlch(39.91, 43.43, 280.22°)
OKLaboklab(48.41% -0.028 -0.1221)
OKLCHoklch(48.41% 0.125 257.1)
XYZxyz(11.6974, 11.1980, 36.6597)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5EA4 #A4712B
analogous
#2B9AA4 #2B5EA4 #352BA4
triadic
#2B5EA4 #A42B5E #5EA42B
tetradic
#2B5EA4 #A42B9A #A4712B #2BA435
square
#2B5EA4 #A42B9A #A4712B #2BA435
split-complementary
#2B5EA4 #A4352B #9AA42B
monochromatic
#122643 #1E4274 #2B5EA4 #3F7BCD #709CD9

Accessibility & contrast

On white

6.48
#2B5EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#2B5EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5EA4
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5EA4#FFFFFF#000000##FFFFFF
##2B5EA41.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C64A7
Deuteranopia (green-blind)
#2759A3
Tritanopia (blue-blind)
#006E79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2b5ea4;
/* rgb */ color: rgb(43, 94, 164);
/* oklch */ color: oklch(48.4% 0.125 257.1);
Tailwind
colors: {
  custom: {
    50: '#748bbf',
    500: '#2b5ea4',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ea4;
$custom-light: #748bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ea4",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 164
  },
  "hsl": {
    "h": 214.711,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4841,
    "c": 0.12532,
    "h": 257.1
  },
  "luminance": 0.11199
}

Semantic roles & 50–950 ramp

primary
#2B5EA4
secondary
#C19C6A
accent
#A046E2
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B5EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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