#2B5D9D#2B5D9D

#2B5D9D is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.7% C 0.117 H 255.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#2B5D9D
RGBrgb(43, 93, 157)
HSLhsl(214, 57%, 39%)
HSVhsv(214, 73%, 62%)
CMYKcmyk(72.6%, 40.8%, 0%, 38.4%)
CIE-LABlab(39.20, 5.69, -39.70)
CIE-LCHlch(39.20, 40.11, 278.16°)
OKLaboklab(47.72% -0.0286 -0.1133)
OKLCHoklch(47.72% 0.117 255.8)
XYZxyz(10.9942, 10.7754, 33.3922)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5D9D #9D6B2B
analogous
#2B969D #2B5D9D #322B9D
triadic
#2B5D9D #9D2B5D #5D9D2B
tetradic
#2B5D9D #9D2B96 #9D6B2B #2B9D32
square
#2B5D9D #9D2B96 #9D6B2B #2B9D32
split-complementary
#2B5D9D #9D322B #969D2B
monochromatic
#11243D #1E416D #2B5D9D #3C7ACA #6C9BD7

Accessibility & contrast

On white

6.66
#2B5D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2B5D9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5D9D
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5D9D#FFFFFF#000000##FFFFFF
##2B5D9D1.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F62A0
Deuteranopia (green-blind)
#2D579C
Tritanopia (blue-blind)
#006C75
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b5d9d;
/* rgb */ color: rgb(43, 93, 157);
/* oklch */ color: oklch(47.7% 0.117 255.8);
Tailwind
colors: {
  custom: {
    50: '#738aba',
    500: '#2b5d9d',
    950: '#000000',
  },
}
SCSS
$custom: #2b5d9d;
$custom-light: #738aba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5d9d",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 157
  },
  "hsl": {
    "h": 213.684,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47722,
    "c": 0.11683,
    "h": 255.8
  },
  "luminance": 0.10777
}

Semantic roles & 50–950 ramp

primary
#2B5D9D
secondary
#BD9766
accent
#9D48E0
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B5D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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