#2B5FA6#2B5FA6

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

Color values

HEX#2B5FA6
RGBrgb(43, 95, 166)
HSLhsl(215, 59%, 41%)
HSVhsv(215, 74%, 65%)
CMYKcmyk(74.1%, 42.8%, 0%, 34.9%)
CIE-LABlab(40.33, 7.82, -43.26)
CIE-LCHlch(40.33, 43.96, 280.25°)
OKLaboklab(48.77% -0.0285 -0.1237)
OKLCHoklch(48.77% 0.127 257)
XYZxyz(11.9689, 11.4499, 37.6483)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5FA6 #A6722B
analogous
#2B9CA6 #2B5FA6 #342BA6
triadic
#2B5FA6 #A62B5F #5FA62B
tetradic
#2B5FA6 #A62B9C #A6722B #2BA634
square
#2B5FA6 #A62B9C #A6722B #2BA634
split-complementary
#2B5FA6 #A6342B #9CA62B
monochromatic
#122745 #1E4375 #2B5FA6 #417CCE #719EDA

Accessibility & contrast

On white

6.38
#2B5FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#2B5FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5FA6
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5FA6#FFFFFF#000000##FFFFFF
##2B5FA61.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D65A9
Deuteranopia (green-blind)
#275AA5
Tritanopia (blue-blind)
#00707A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b5fa6;
/* rgb */ color: rgb(43, 95, 166);
/* oklch */ color: oklch(48.8% 0.127 257.0);
Tailwind
colors: {
  custom: {
    50: '#758bc1',
    500: '#2b5fa6',
    950: '#000000',
  },
}
SCSS
$custom: #2b5fa6;
$custom-light: #758bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5fa6",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 166
  },
  "hsl": {
    "h": 214.634,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48771,
    "c": 0.12692,
    "h": 257
  },
  "luminance": 0.11451
}

Semantic roles & 50–950 ramp

primary
#2B5FA6
secondary
#C19D6B
accent
#A046E2
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2B5FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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