#2B5E97#2B5E97

#2B5E97 is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.6% C 0.107 H 253.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#2B5E97
RGBrgb(43, 94, 151)
HSLhsl(212, 56%, 38%)
HSVhsv(212, 72%, 59%)
CMYKcmyk(71.5%, 37.7%, 0%, 40.8%)
CIE-LABlab(39.16, 2.78, -36.17)
CIE-LCHlch(39.16, 36.28, 274.40°)
OKLaboklab(47.58% -0.0311 -0.1029)
OKLCHoklch(47.58% 0.108 253.2)
XYZxyz(10.5828, 10.7522, 30.7898)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5E97 #97642B
analogous
#2B9497 #2B5E97 #2E2B97
triadic
#2B5E97 #972B5E #5E972B
tetradic
#2B5E97 #972B94 #97642B #2B972E
square
#2B5E97 #972B94 #97642B #2B972E
split-complementary
#2B5E97 #972E2B #94972B
monochromatic
#102338 #1D4067 #2B5E97 #397CC7 #689BD4

Accessibility & contrast

On white

6.67
#2B5E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2B5E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5E97
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5E97#FFFFFF#000000##FFFFFF
##2B5E971.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446299
Deuteranopia (green-blind)
#345896
Tritanopia (blue-blind)
#006B73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b5e97;
/* rgb */ color: rgb(43, 94, 151);
/* oklch */ color: oklch(47.6% 0.107 253.2);
Tailwind
colors: {
  custom: {
    50: '#728bb6',
    500: '#2b5e97',
    950: '#000000',
  },
}
SCSS
$custom: #2b5e97;
$custom-light: #728bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5e97",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 151
  },
  "hsl": {
    "h": 211.667,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4758,
    "c": 0.1075,
    "h": 253.2
  },
  "luminance": 0.10753
}

Semantic roles & 50–950 ramp

primary
#2B5E97
secondary
#BB9163
accent
#9849DF
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2B5E97

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

Preview Lab → · Contrast checker → · Palette generator →

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