#2B5DA2#2B5DA2

#2B5DA2 is a mid, vivid cyan. Relative luminance 0.110; OKLCH L 48.0% C 0.124 H 257.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#2B5DA2
RGBrgb(43, 93, 162)
HSLhsl(215, 58%, 40%)
HSVhsv(215, 73%, 64%)
CMYKcmyk(73.5%, 42.6%, 0%, 36.5%)
CIE-LABlab(39.50, 7.59, -42.21)
CIE-LCHlch(39.50, 42.89, 280.19°)
OKLaboklab(48.05% -0.0275 -0.1206)
OKLCHoklch(48.05% 0.124 257.1)
XYZxyz(11.4298, 10.9497, 35.6865)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5DA2 #A2702B
analogous
#2B98A2 #2B5DA2 #342BA2
triadic
#2B5DA2 #A22B5D #5DA22B
tetradic
#2B5DA2 #A22B98 #A2702B #2BA234
square
#2B5DA2 #A22B98 #A2702B #2BA234
split-complementary
#2B5DA2 #A2342B #98A22B
monochromatic
#112541 #1E4172 #2B5DA2 #3E7ACC #6F9BD9

Accessibility & contrast

On white

6.58
#2B5DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2B5DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5DA2
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5DA2#FFFFFF#000000##FFFFFF
##2B5DA21.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C63A5
Deuteranopia (green-blind)
#2758A1
Tritanopia (blue-blind)
#006D77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b5da2;
/* rgb */ color: rgb(43, 93, 162);
/* oklch */ color: oklch(48.0% 0.124 257.1);
Tailwind
colors: {
  custom: {
    50: '#748abe',
    500: '#2b5da2',
    950: '#000000',
  },
}
SCSS
$custom: #2b5da2;
$custom-light: #748abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5da2",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 162
  },
  "hsl": {
    "h": 214.79,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48048,
    "c": 0.12373,
    "h": 257.1
  },
  "luminance": 0.10951
}

Semantic roles & 50–950 ramp

primary
#2B5DA2
secondary
#C09B69
accent
#A047E1
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B5DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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