#2B5D97#2B5D97

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

Color values

HEX#2B5D97
RGBrgb(43, 93, 151)
HSLhsl(212, 56%, 38%)
HSVhsv(212, 72%, 59%)
CMYKcmyk(71.5%, 38.4%, 0%, 40.8%)
CIE-LABlab(38.86, 3.42, -36.65)
CIE-LCHlch(38.86, 36.81, 275.33°)
OKLaboklab(47.34% -0.0301 -0.1043)
OKLCHoklch(47.34% 0.109 253.9)
XYZxyz(10.4945, 10.5755, 30.7604)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5D97 #97652B
analogous
#2B9397 #2B5D97 #2F2B97
triadic
#2B5D97 #972B5D #5D972B
tetradic
#2B5D97 #972B93 #97652B #2B972F
square
#2B5D97 #972B93 #97652B #2B972F
split-complementary
#2B5D97 #972F2B #93972B
monochromatic
#102238 #1D4067 #2B5D97 #397AC7 #689AD4

Accessibility & contrast

On white

6.74
#2B5D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2B5D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5D97
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5D97#FFFFFF#000000##FFFFFF
##2B5D971.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436199
Deuteranopia (green-blind)
#335796
Tritanopia (blue-blind)
#006B72
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b5d97;
/* rgb */ color: rgb(43, 93, 151);
/* oklch */ color: oklch(47.3% 0.109 253.9);
Tailwind
colors: {
  custom: {
    50: '#728ab6',
    500: '#2b5d97',
    950: '#000000',
  },
}
SCSS
$custom: #2b5d97;
$custom-light: #728ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5d97",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 151
  },
  "hsl": {
    "h": 212.222,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47343,
    "c": 0.10858,
    "h": 253.9
  },
  "luminance": 0.10577
}

Semantic roles & 50–950 ramp

primary
#2B5D97
secondary
#BB9263
accent
#9949DF
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2B5D97

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

Preview Lab → · Contrast checker → · Palette generator →

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