#2B5B95#2B5B95

#2B5B95 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.7% C 0.108 H 254.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2B5B95
RGBrgb(43, 91, 149)
HSLhsl(213, 55%, 38%)
HSVhsv(213, 71%, 58%)
CMYKcmyk(71.1%, 38.9%, 0%, 41.6%)
CIE-LABlab(38.14, 3.95, -36.59)
CIE-LCHlch(38.14, 36.81, 276.16°)
OKLaboklab(46.74% -0.0286 -0.1042)
OKLCHoklch(46.74% 0.108 254.6)
XYZxyz(10.1602, 10.1646, 29.8545)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5B95 #95652B
analogous
#2B9095 #2B5B95 #302B95
triadic
#2B5B95 #952B5B #5B952B
tetradic
#2B5B95 #952B90 #95652B #2B9530
square
#2B5B95 #952B90 #95652B #2B9530
split-complementary
#2B5B95 #95302B #90952B
monochromatic
#102136 #1D3E66 #2B5B95 #3978C4 #6798D3

Accessibility & contrast

On white

6.92
#2B5B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2B5B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5B95
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5B95#FFFFFF#000000##FFFFFF
##2B5B951.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415F97
Deuteranopia (green-blind)
#315594
Tritanopia (blue-blind)
#006971
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b5b95;
/* rgb */ color: rgb(43, 91, 149);
/* oklch */ color: oklch(46.7% 0.108 254.6);
Tailwind
colors: {
  custom: {
    50: '#7189b4',
    500: '#2b5b95',
    950: '#000000',
  },
}
SCSS
$custom: #2b5b95;
$custom-light: #7189b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5b95",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 149
  },
  "hsl": {
    "h": 212.83,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46744,
    "c": 0.10803,
    "h": 254.6
  },
  "luminance": 0.10166
}

Semantic roles & 50–950 ramp

primary
#2B5B95
secondary
#BA9262
accent
#9B49DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2B5B95

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

Preview Lab → · Contrast checker → · Palette generator →

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