#2B5FA2#2B5FA2

#2B5FA2 is a mid, vivid cyan. Relative luminance 0.113; OKLCH L 48.5% C 0.121 H 256.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#2B5FA2
RGBrgb(43, 95, 162)
HSLhsl(214, 58%, 40%)
HSVhsv(214, 73%, 64%)
CMYKcmyk(73.5%, 41.4%, 0%, 36.5%)
CIE-LABlab(40.09, 6.30, -41.26)
CIE-LCHlch(40.09, 41.74, 278.68°)
OKLaboklab(48.51% -0.0294 -0.1178)
OKLCHoklch(48.51% 0.121 256)
XYZxyz(11.6077, 11.3054, 35.7458)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5FA2 #A26E2B
analogous
#2B9AA2 #2B5FA2 #332BA2
triadic
#2B5FA2 #A22B5F #5FA22B
tetradic
#2B5FA2 #A22B9A #A26E2B #2BA233
square
#2B5FA2 #A22B9A #A26E2B #2BA233
split-complementary
#2B5FA2 #A2332B #9AA22B
monochromatic
#112641 #1E4372 #2B5FA2 #3E7CCC #6F9DD9

Accessibility & contrast

On white

6.44
#2B5FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#2B5FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5FA2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5FA2#FFFFFF#000000##FFFFFF
##2B5FA21.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F64A5
Deuteranopia (green-blind)
#2C59A1
Tritanopia (blue-blind)
#006F78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2b5fa2;
/* rgb */ color: rgb(43, 95, 162);
/* oklch */ color: oklch(48.5% 0.121 256.0);
Tailwind
colors: {
  custom: {
    50: '#748bbe',
    500: '#2b5fa2',
    950: '#000000',
  },
}
SCSS
$custom: #2b5fa2;
$custom-light: #748bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5fa2",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 213.782,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48509,
    "c": 0.12143,
    "h": 256
  },
  "luminance": 0.11307
}

Semantic roles & 50–950 ramp

primary
#2B5FA2
secondary
#C09A69
accent
#9E47E1
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2B5FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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