#2B5874#2B5874

#2B5874 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.1% C 0.068 H 238.3°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#2B5874
RGBrgb(43, 88, 116)
HSLhsl(203, 46%, 31%)
HSVhsv(203, 63%, 45%)
CMYKcmyk(62.9%, 24.1%, 0%, 54.5%)
CIE-LABlab(35.50, -6.25, -20.57)
CIE-LCHlch(35.50, 21.50, 253.11°)
OKLaboklab(44.12% -0.0357 -0.0576)
OKLCHoklch(44.12% 0.068 238.3)
XYZxyz(7.6372, 8.7533, 17.8067)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5874 #74472B
analogous
#2B746B #2B5874 #2B3374
triadic
#2B5874 #742B58 #58742B
tetradic
#2B5874 #6B2B74 #74472B #33742B
square
#2B5874 #6B2B74 #74472B #33742B
split-complementary
#2B5874 #742B33 #746B2B
monochromatic
#0A141B #1A3647 #2B5874 #3C7AA1 #5899C1

Accessibility & contrast

On white

7.63
#2B5874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2B5874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5874
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5874#FFFFFF#000000##FFFFFF
##2B58741.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5875
Deuteranopia (green-blind)
#415074
Tritanopia (blue-blind)
#005F61
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b5874;
/* rgb */ color: rgb(43, 88, 116);
/* oklch */ color: oklch(44.1% 0.068 238.3);
Tailwind
colors: {
  custom: {
    50: '#6c879c',
    500: '#2b5874',
    950: '#000000',
  },
}
SCSS
$custom: #2b5874;
$custom-light: #6c879c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5874",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 116
  },
  "hsl": {
    "h": 203.014,
    "s": 45.912,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4412,
    "c": 0.06777,
    "h": 238.3
  },
  "luminance": 0.08754
}

Semantic roles & 50–950 ramp

primary
#2B5874
secondary
#A67455
accent
#8552D6
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2B5874

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

Preview Lab → · Contrast checker → · Palette generator →

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