#2B5F97#2B5F97

#2B5F97 is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.8% C 0.106 H 252.4°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#2B5F97
RGBrgb(43, 95, 151)
HSLhsl(211, 56%, 38%)
HSVhsv(211, 72%, 59%)
CMYKcmyk(71.5%, 37.1%, 0%, 40.8%)
CIE-LABlab(39.46, 2.15, -35.69)
CIE-LCHlch(39.46, 35.75, 273.44°)
OKLaboklab(47.82% -0.0322 -0.1015)
OKLCHoklch(47.82% 0.106 252.4)
XYZxyz(10.6723, 10.9312, 30.8196)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5F97 #97632B
analogous
#2B9597 #2B5F97 #2D2B97
triadic
#2B5F97 #972B5F #5F972B
tetradic
#2B5F97 #972B95 #97632B #2B972D
square
#2B5F97 #972B95 #97632B #2B972D
split-complementary
#2B5F97 #972D2B #95972B
monochromatic
#102338 #1D4167 #2B5F97 #397DC7 #689CD4

Accessibility & contrast

On white

6.59
#2B5F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2B5F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5F97
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5F97#FFFFFF#000000##FFFFFF
##2B5F971.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466299
Deuteranopia (green-blind)
#365896
Tritanopia (blue-blind)
#006C74
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b5f97;
/* rgb */ color: rgb(43, 95, 151);
/* oklch */ color: oklch(47.8% 0.106 252.4);
Tailwind
colors: {
  custom: {
    50: '#728cb6',
    500: '#2b5f97',
    950: '#000000',
  },
}
SCSS
$custom: #2b5f97;
$custom-light: #728cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5f97",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 151
  },
  "hsl": {
    "h": 211.111,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47818,
    "c": 0.10644,
    "h": 252.4
  },
  "luminance": 0.10932
}

Semantic roles & 50–950 ramp

primary
#2B5F97
secondary
#BB9163
accent
#9749DF
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2B5F97

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

Preview Lab → · Contrast checker → · Palette generator →

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