#2B5FA1#2B5FA1

#2B5FA1 is a mid, vivid cyan. Relative luminance 0.113; OKLCH L 48.4% C 0.120 H 255.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#2B5FA1
RGBrgb(43, 95, 161)
HSLhsl(214, 58%, 40%)
HSVhsv(214, 73%, 63%)
CMYKcmyk(73.3%, 41%, 0%, 36.9%)
CIE-LABlab(40.03, 5.92, -40.76)
CIE-LCHlch(40.03, 41.19, 278.26°)
OKLaboklab(48.45% -0.0296 -0.1163)
OKLCHoklch(48.45% 0.12 255.7)
XYZxyz(11.5191, 11.2700, 35.2795)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5FA1 #A16D2B
analogous
#2B9AA1 #2B5FA1 #322BA1
triadic
#2B5FA1 #A12B5F #5FA12B
tetradic
#2B5FA1 #A12B9A #A16D2B #2BA132
square
#2B5FA1 #A12B9A #A16D2B #2BA132
split-complementary
#2B5FA1 #A1322B #9AA12B
monochromatic
#112640 #1E4371 #2B5FA1 #3E7CCB #6E9DD8

Accessibility & contrast

On white

6.45
#2B5FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2B5FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5FA1
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5FA1#FFFFFF#000000##FFFFFF
##2B5FA11.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4064A4
Deuteranopia (green-blind)
#2D59A0
Tritanopia (blue-blind)
#006E78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2b5fa1;
/* rgb */ color: rgb(43, 95, 161);
/* oklch */ color: oklch(48.4% 0.120 255.7);
Tailwind
colors: {
  custom: {
    50: '#748bbd',
    500: '#2b5fa1',
    950: '#000000',
  },
}
SCSS
$custom: #2b5fa1;
$custom-light: #748bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5fa1",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 161
  },
  "hsl": {
    "h": 213.559,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.48445,
    "c": 0.12006,
    "h": 255.7
  },
  "luminance": 0.11271
}

Semantic roles & 50–950 ramp

primary
#2B5FA1
secondary
#BF9969
accent
#9D47E1
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2B5FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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