#2B5A97#2B5A97

#2B5A97 is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.6% C 0.112 H 256.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2B5A97
RGBrgb(43, 90, 151)
HSLhsl(214, 56%, 38%)
HSVhsv(214, 72%, 59%)
CMYKcmyk(71.5%, 40.4%, 0%, 40.8%)
CIE-LABlab(37.95, 5.35, -38.10)
CIE-LCHlch(37.95, 38.47, 278.00°)
OKLaboklab(46.64% -0.0271 -0.1086)
OKLCHoklch(46.64% 0.112 256)
XYZxyz(10.2363, 10.0592, 30.6743)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5A97 #97682B
analogous
#2B9097 #2B5A97 #322B97
triadic
#2B5A97 #972B5A #5A972B
tetradic
#2B5A97 #972B90 #97682B #2B9732
square
#2B5A97 #972B90 #97682B #2B9732
split-complementary
#2B5A97 #97322B #90972B
monochromatic
#102138 #1D3E67 #2B5A97 #3976C7 #6897D4

Accessibility & contrast

On white

6.97
#2B5A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2B5A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5A97
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5A97#FFFFFF#000000##FFFFFF
##2B5A971.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5F99
Deuteranopia (green-blind)
#2D5596
Tritanopia (blue-blind)
#006871
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2b5a97;
/* rgb */ color: rgb(43, 90, 151);
/* oklch */ color: oklch(46.6% 0.112 256.0);
Tailwind
colors: {
  custom: {
    50: '#7288b6',
    500: '#2b5a97',
    950: '#000000',
  },
}
SCSS
$custom: #2b5a97;
$custom-light: #7288b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5a97",
  "rgb": {
    "r": 43,
    "g": 90,
    "b": 151
  },
  "hsl": {
    "h": 213.889,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46635,
    "c": 0.11193,
    "h": 256
  },
  "luminance": 0.1006
}

Semantic roles & 50–950 ramp

primary
#2B5A97
secondary
#BB9563
accent
#9E49DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2B5A97

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

Preview Lab → · Contrast checker → · Palette generator →

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