#2B5FA7#2B5FA7

#2B5FA7 is a mid, vivid cyan. Relative luminance 0.115; OKLCH L 48.8% C 0.128 H 257.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#2B5FA7
RGBrgb(43, 95, 167)
HSLhsl(215, 59%, 41%)
HSVhsv(215, 74%, 65%)
CMYKcmyk(74.3%, 43.1%, 0%, 34.5%)
CIE-LABlab(40.39, 8.20, -43.75)
CIE-LCHlch(40.39, 44.52, 280.62°)
OKLaboklab(48.84% -0.0283 -0.1251)
OKLCHoklch(48.84% 0.128 257.2)
XYZxyz(12.0610, 11.4867, 38.1332)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5FA7 #A7732B
analogous
#2B9DA7 #2B5FA7 #352BA7
triadic
#2B5FA7 #A72B5F #5FA72B
tetradic
#2B5FA7 #A72B9D #A7732B #2BA735
square
#2B5FA7 #A72B9D #A7732B #2BA735
split-complementary
#2B5FA7 #A7352B #9DA72B
monochromatic
#122846 #1E4376 #2B5FA7 #417CCE #729EDB

Accessibility & contrast

On white

6.37
#2B5FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B5FA7
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5FA7#FFFFFF#000000##FFFFFF
##2B5FA71.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C65AA
Deuteranopia (green-blind)
#265AA6
Tritanopia (blue-blind)
#00707B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b5fa7;
/* rgb */ color: rgb(43, 95, 167);
/* oklch */ color: oklch(48.8% 0.128 257.2);
Tailwind
colors: {
  custom: {
    50: '#758bc1',
    500: '#2b5fa7',
    950: '#000000',
  },
}
SCSS
$custom: #2b5fa7;
$custom-light: #758bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5fa7",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 167
  },
  "hsl": {
    "h": 214.839,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48837,
    "c": 0.12828,
    "h": 257.2
  },
  "luminance": 0.11488
}

Semantic roles & 50–950 ramp

primary
#2B5FA7
secondary
#C29E6C
accent
#A146E2
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2B5FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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