#2B5FA3#2B5FA3

#2B5FA3 is a mid, vivid cyan. Relative luminance 0.113; OKLCH L 48.6% C 0.123 H 256.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#2B5FA3
RGBrgb(43, 95, 163)
HSLhsl(214, 58%, 40%)
HSVhsv(214, 74%, 64%)
CMYKcmyk(73.6%, 41.7%, 0%, 36.1%)
CIE-LABlab(40.15, 6.68, -41.76)
CIE-LCHlch(40.15, 42.29, 279.09°)
OKLaboklab(48.57% -0.0292 -0.1193)
OKLCHoklch(48.57% 0.123 256.2)
XYZxyz(11.6969, 11.3411, 36.2158)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5FA3 #A36F2B
analogous
#2B9BA3 #2B5FA3 #332BA3
triadic
#2B5FA3 #A32B5F #5FA32B
tetradic
#2B5FA3 #A32B9B #A36F2B #2BA333
square
#2B5FA3 #A32B9B #A36F2B #2BA333
split-complementary
#2B5FA3 #A3332B #9BA32B
monochromatic
#112742 #1E4373 #2B5FA3 #3F7CCC #6F9DD9

Accessibility & contrast

On white

6.43
#2B5FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#2B5FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5FA3
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5FA3#FFFFFF#000000##FFFFFF
##2B5FA31.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F65A6
Deuteranopia (green-blind)
#2B5AA2
Tritanopia (blue-blind)
#006F79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b5fa3;
/* rgb */ color: rgb(43, 95, 163);
/* oklch */ color: oklch(48.6% 0.123 256.2);
Tailwind
colors: {
  custom: {
    50: '#748bbf',
    500: '#2b5fa3',
    950: '#000000',
  },
}
SCSS
$custom: #2b5fa3;
$custom-light: #748bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5fa3",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 163
  },
  "hsl": {
    "h": 214,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48574,
    "c": 0.1228,
    "h": 256.2
  },
  "luminance": 0.11342
}

Semantic roles & 50–950 ramp

primary
#2B5FA3
secondary
#C09B6A
accent
#9E46E1
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2B5FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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