#2B5288#2B5288

#2B5288 is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.8% C 0.100 H 257.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#2B5288
RGBrgb(43, 82, 136)
HSLhsl(215, 52%, 35%)
HSVhsv(215, 68%, 53%)
CMYKcmyk(68.4%, 39.7%, 0%, 46.7%)
CIE-LABlab(34.65, 4.89, -34.23)
CIE-LCHlch(34.65, 34.58, 278.12°)
OKLaboklab(43.79% -0.0225 -0.0974)
OKLCHoklch(43.79% 0.1 257)
XYZxyz(8.4559, 8.3249, 24.4490)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5288 #88612B
analogous
#2B8088 #2B5288 #332B88
triadic
#2B5288 #882B52 #52882B
tetradic
#2B5288 #882B80 #88612B #2B8833
square
#2B5288 #882B80 #88612B #2B8833
split-complementary
#2B5288 #88332B #80882B
monochromatic
#0E1A2B #1C365A #2B5288 #3A6EB6 #618ECD

Accessibility & contrast

On white

7.88
#2B5288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2B5288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5288
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5288#FFFFFF#000000##FFFFFF
##2B52881.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A568A
Deuteranopia (green-blind)
#2C4D87
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b5288;
/* rgb */ color: rgb(43, 82, 136);
/* oklch */ color: oklch(43.8% 0.100 257.0);
Tailwind
colors: {
  custom: {
    50: '#6f82ab',
    500: '#2b5288',
    950: '#000000',
  },
}
SCSS
$custom: #2b5288;
$custom-light: #6f82ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5288",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 136
  },
  "hsl": {
    "h": 214.839,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43787,
    "c": 0.09997,
    "h": 257
  },
  "luminance": 0.08326
}

Semantic roles & 50–950 ramp

primary
#2B5288
secondary
#B38E5C
accent
#9F4CDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B5288

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

Preview Lab → · Contrast checker → · Palette generator →

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