#2B5EA1#2B5EA1

#2B5EA1 is a mid, vivid cyan. Relative luminance 0.111; OKLCH L 48.2% C 0.121 H 256.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#2B5EA1
RGBrgb(43, 94, 161)
HSLhsl(214, 58%, 40%)
HSVhsv(214, 73%, 63%)
CMYKcmyk(73.3%, 41.6%, 0%, 36.9%)
CIE-LABlab(39.73, 6.56, -41.24)
CIE-LCHlch(39.73, 41.76, 279.04°)
OKLaboklab(48.21% -0.0287 -0.1177)
OKLCHoklch(48.21% 0.121 256.3)
XYZxyz(11.4296, 11.0910, 35.2497)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5EA1 #A16E2B
analogous
#2B99A1 #2B5EA1 #332BA1
triadic
#2B5EA1 #A12B5E #5EA12B
tetradic
#2B5EA1 #A12B99 #A16E2B #2BA133
square
#2B5EA1 #A12B99 #A16E2B #2BA133
split-complementary
#2B5EA1 #A1332B #99A12B
monochromatic
#112640 #1E4271 #2B5EA1 #3E7BCB #6E9CD8

Accessibility & contrast

On white

6.52
#2B5EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2B5EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5EA1
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5EA1#FFFFFF#000000##FFFFFF
##2B5EA11.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E64A4
Deuteranopia (green-blind)
#2B59A0
Tritanopia (blue-blind)
#006E77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2b5ea1;
/* rgb */ color: rgb(43, 94, 161);
/* oklch */ color: oklch(48.2% 0.121 256.3);
Tailwind
colors: {
  custom: {
    50: '#748bbd',
    500: '#2b5ea1',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ea1;
$custom-light: #748bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ea1",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 161
  },
  "hsl": {
    "h": 214.068,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.48213,
    "c": 0.1212,
    "h": 256.3
  },
  "luminance": 0.11092
}

Semantic roles & 50–950 ramp

primary
#2B5EA1
secondary
#BF9A69
accent
#9E47E1
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B5EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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