#2B5790#2B5790

#2B5790 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.5% C 0.106 H 255.9°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2B5790
RGBrgb(43, 87, 144)
HSLhsl(214, 54%, 37%)
HSVhsv(214, 70%, 56%)
CMYKcmyk(70.1%, 39.6%, 0%, 43.5%)
CIE-LABlab(36.64, 4.65, -35.95)
CIE-LCHlch(36.64, 36.25, 277.36°)
OKLaboklab(45.48% -0.0258 -0.1024)
OKLCHoklch(45.48% 0.106 255.9)
XYZxyz(9.4367, 9.3426, 27.6861)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5790 #90642B
analogous
#2B8A90 #2B5790 #312B90
triadic
#2B5790 #902B57 #57902B
tetradic
#2B5790 #902B8A #90642B #2B9031
square
#2B5790 #902B8A #90642B #2B9031
split-complementary
#2B5790 #90312B #8A902B
monochromatic
#0F1E32 #1D3B61 #2B5790 #3973BF #6594D1

Accessibility & contrast

On white

7.32
#2B5790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2B5790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5790
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5790#FFFFFF#000000##FFFFFF
##2B57901.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5B92
Deuteranopia (green-blind)
#2E528F
Tritanopia (blue-blind)
#00646C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b5790;
/* rgb */ color: rgb(43, 87, 144);
/* oklch */ color: oklch(45.5% 0.106 255.9);
Tailwind
colors: {
  custom: {
    50: '#7186b1',
    500: '#2b5790',
    950: '#000000',
  },
}
SCSS
$custom: #2b5790;
$custom-light: #7186b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5790",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 144
  },
  "hsl": {
    "h": 213.861,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45482,
    "c": 0.10557,
    "h": 255.9
  },
  "luminance": 0.09344
}

Semantic roles & 50–950 ramp

primary
#2B5790
secondary
#B79160
accent
#9D4ADD
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2B5790

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

Preview Lab → · Contrast checker → · Palette generator →

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