#2B5D9B#2B5D9B

#2B5D9B is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.6% C 0.114 H 255.2°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#2B5D9B
RGBrgb(43, 93, 155)
HSLhsl(213, 57%, 39%)
HSVhsv(213, 72%, 61%)
CMYKcmyk(72.3%, 40%, 0%, 39.2%)
CIE-LABlab(39.08, 4.93, -38.69)
CIE-LCHlch(39.08, 39.00, 277.26°)
OKLaboklab(47.59% -0.0291 -0.1103)
OKLCHoklch(47.59% 0.114 255.2)
XYZxyz(10.8248, 10.7077, 32.5003)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5D9B #9B692B
analogous
#2B959B #2B5D9B #312B9B
triadic
#2B5D9B #9B2B5D #5D9B2B
tetradic
#2B5D9B #9B2B95 #9B692B #2B9B31
square
#2B5D9B #9B2B95 #9B692B #2B9B31
split-complementary
#2B5D9B #9B312B #959B2B
monochromatic
#10243B #1E406B #2B5D9B #3B7AC9 #6B9AD6

Accessibility & contrast

On white

6.68
#2B5D9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2B5D9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5D9B
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5D9B#FFFFFF#000000##FFFFFF
##2B5D9B1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40629D
Deuteranopia (green-blind)
#2F579A
Tritanopia (blue-blind)
#006B74
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b5d9b;
/* rgb */ color: rgb(43, 93, 155);
/* oklch */ color: oklch(47.6% 0.114 255.2);
Tailwind
colors: {
  custom: {
    50: '#738ab9',
    500: '#2b5d9b',
    950: '#000000',
  },
}
SCSS
$custom: #2b5d9b;
$custom-light: #738ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5d9b",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 155
  },
  "hsl": {
    "h": 213.214,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47594,
    "c": 0.11407,
    "h": 255.2
  },
  "luminance": 0.10709
}

Semantic roles & 50–950 ramp

primary
#2B5D9B
secondary
#BC9665
accent
#9C48E0
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2B5D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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