#2B558E#2B558E

#2B558E is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.9% C 0.105 H 256.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2B558E
RGBrgb(43, 85, 142)
HSLhsl(215, 54%, 36%)
HSVhsv(215, 70%, 56%)
CMYKcmyk(69.7%, 40.1%, 0%, 44.3%)
CIE-LABlab(35.91, 5.19, -35.89)
CIE-LCHlch(35.91, 36.26, 278.23°)
OKLaboklab(44.88% -0.0242 -0.1022)
OKLCHoklch(44.88% 0.105 256.7)
XYZxyz(9.1255, 8.9627, 26.8350)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B558E #8E642B
analogous
#2B878E #2B558E #322B8E
triadic
#2B558E #8E2B55 #558E2B
tetradic
#2B558E #8E2B87 #8E642B #2B8E32
square
#2B558E #8E2B87 #8E642B #2B8E32
split-complementary
#2B558E #8E322B #878E2B
monochromatic
#0F1D30 #1D395F #2B558E #3971BD #6391D0

Accessibility & contrast

On white

7.52
#2B558E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2B558E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B558E
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B558E#FFFFFF#000000##FFFFFF
##2B558E1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5990
Deuteranopia (green-blind)
#2C508D
Tritanopia (blue-blind)
#00626A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2b558e;
/* rgb */ color: rgb(43, 85, 142);
/* oklch */ color: oklch(44.9% 0.105 256.7);
Tailwind
colors: {
  custom: {
    50: '#7084af',
    500: '#2b558e',
    950: '#000000',
  },
}
SCSS
$custom: #2b558e;
$custom-light: #7084af;
$custom-dark: #000000;
JSON
{
  "hex": "#2b558e",
  "rgb": {
    "r": 43,
    "g": 85,
    "b": 142
  },
  "hsl": {
    "h": 214.545,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44881,
    "c": 0.10504,
    "h": 256.7
  },
  "luminance": 0.08964
}

Semantic roles & 50–950 ramp

primary
#2B558E
secondary
#B6915F
accent
#9F4BDD
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B558E

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

Preview Lab → · Contrast checker → · Palette generator →

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