#2B5B97#2B5B97

#2B5B97 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.9% C 0.111 H 255.3°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#2B5B97
RGBrgb(43, 91, 151)
HSLhsl(213, 56%, 38%)
HSVhsv(213, 72%, 59%)
CMYKcmyk(71.5%, 39.7%, 0%, 40.8%)
CIE-LABlab(38.25, 4.71, -37.62)
CIE-LCHlch(38.25, 37.91, 277.13°)
OKLaboklab(46.87% -0.0281 -0.1072)
OKLCHoklch(46.87% 0.111 255.3)
XYZxyz(10.3212, 10.2290, 30.7026)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5B97 #97672B
analogous
#2B9197 #2B5B97 #312B97
triadic
#2B5B97 #972B5B #5B972B
tetradic
#2B5B97 #972B91 #97672B #2B9731
square
#2B5B97 #972B91 #97672B #2B9731
split-complementary
#2B5B97 #97312B #91972B
monochromatic
#102238 #1D3E67 #2B5B97 #3978C7 #6898D4

Accessibility & contrast

On white

6.89
#2B5B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2B5B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5B97
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5B97#FFFFFF#000000##FFFFFF
##2B5B971.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6099
Deuteranopia (green-blind)
#2F5596
Tritanopia (blue-blind)
#006971
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b5b97;
/* rgb */ color: rgb(43, 91, 151);
/* oklch */ color: oklch(46.9% 0.111 255.3);
Tailwind
colors: {
  custom: {
    50: '#7289b6',
    500: '#2b5b97',
    950: '#000000',
  },
}
SCSS
$custom: #2b5b97;
$custom-light: #7289b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5b97",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 151
  },
  "hsl": {
    "h": 213.333,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4687,
    "c": 0.1108,
    "h": 255.3
  },
  "luminance": 0.1023
}

Semantic roles & 50–950 ramp

primary
#2B5B97
secondary
#BB9463
accent
#9C49DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2B5B97

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

Preview Lab → · Contrast checker → · Palette generator →

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