#2B5EA2#2B5EA2

#2B5EA2 is a mid, vivid cyan. Relative luminance 0.111; OKLCH L 48.3% C 0.123 H 256.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#2B5EA2
RGBrgb(43, 94, 162)
HSLhsl(214, 58%, 40%)
HSVhsv(214, 73%, 64%)
CMYKcmyk(73.5%, 42%, 0%, 36.5%)
CIE-LABlab(39.79, 6.94, -41.74)
CIE-LCHlch(39.79, 42.31, 279.45°)
OKLaboklab(48.28% -0.0285 -0.1192)
OKLCHoklch(48.28% 0.123 256.6)
XYZxyz(11.5182, 11.1264, 35.7160)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5EA2 #A26F2B
analogous
#2B99A2 #2B5EA2 #342BA2
triadic
#2B5EA2 #A22B5E #5EA22B
tetradic
#2B5EA2 #A22B99 #A26F2B #2BA234
square
#2B5EA2 #A22B99 #A26F2B #2BA234
split-complementary
#2B5EA2 #A2342B #99A22B
monochromatic
#112641 #1E4272 #2B5EA2 #3E7BCC #6F9CD9

Accessibility & contrast

On white

6.51
#2B5EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2B5EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5EA2
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5EA2#FFFFFF#000000##FFFFFF
##2B5EA21.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E64A5
Deuteranopia (green-blind)
#2A59A1
Tritanopia (blue-blind)
#006E78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2b5ea2;
/* rgb */ color: rgb(43, 94, 162);
/* oklch */ color: oklch(48.3% 0.123 256.6);
Tailwind
colors: {
  custom: {
    50: '#748bbe',
    500: '#2b5ea2',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ea2;
$custom-light: #748bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ea2",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 214.286,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48278,
    "c": 0.12257,
    "h": 256.6
  },
  "luminance": 0.11128
}

Semantic roles & 50–950 ramp

primary
#2B5EA2
secondary
#C09B69
accent
#9F47E1
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B5EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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