#2B5FA5#2B5FA5

#2B5FA5 is a mid, vivid cyan. Relative luminance 0.114; OKLCH L 48.7% C 0.126 H 256.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#2B5FA5
RGBrgb(43, 95, 165)
HSLhsl(214, 59%, 41%)
HSVhsv(214, 74%, 65%)
CMYKcmyk(73.9%, 42.4%, 0%, 35.3%)
CIE-LABlab(40.27, 7.44, -42.76)
CIE-LCHlch(40.27, 43.40, 279.87°)
OKLaboklab(48.71% -0.0287 -0.1222)
OKLCHoklch(48.71% 0.126 256.8)
XYZxyz(11.8775, 11.4133, 37.1670)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5FA5 #A5712B
analogous
#2B9CA5 #2B5FA5 #342BA5
triadic
#2B5FA5 #A52B5F #5FA52B
tetradic
#2B5FA5 #A52B9C #A5712B #2BA534
square
#2B5FA5 #A52B9C #A5712B #2BA534
split-complementary
#2B5FA5 #A5342B #9CA52B
monochromatic
#122744 #1E4374 #2B5FA5 #407CCD #719DDA

Accessibility & contrast

On white

6.40
#2B5FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2B5FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5FA5
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5FA5#FFFFFF#000000##FFFFFF
##2B5FA51.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D65A8
Deuteranopia (green-blind)
#285AA4
Tritanopia (blue-blind)
#006F7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b5fa5;
/* rgb */ color: rgb(43, 95, 165);
/* oklch */ color: oklch(48.7% 0.126 256.8);
Tailwind
colors: {
  custom: {
    50: '#758bc0',
    500: '#2b5fa5',
    950: '#000000',
  },
}
SCSS
$custom: #2b5fa5;
$custom-light: #758bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5fa5",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 165
  },
  "hsl": {
    "h": 214.426,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48705,
    "c": 0.12555,
    "h": 256.8
  },
  "luminance": 0.11415
}

Semantic roles & 50–950 ramp

primary
#2B5FA5
secondary
#C19C6B
accent
#9F46E2
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2B5FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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