#2B5895#2B5895

#2B5895 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 46.0% C 0.111 H 256.7°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#2B5895
RGBrgb(43, 88, 149)
HSLhsl(215, 55%, 38%)
HSVhsv(215, 71%, 58%)
CMYKcmyk(71.1%, 40.9%, 0%, 41.6%)
CIE-LABlab(37.23, 5.89, -38.04)
CIE-LCHlch(37.23, 38.49, 278.80°)
OKLaboklab(46.04% -0.0256 -0.1084)
OKLCHoklch(46.04% 0.111 256.7)
XYZxyz(9.9088, 9.6619, 29.7707)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5895 #95682B
analogous
#2B8D95 #2B5895 #332B95
triadic
#2B5895 #952B58 #58952B
tetradic
#2B5895 #952B8D #95682B #2B9533
square
#2B5895 #952B8D #95682B #2B9533
split-complementary
#2B5895 #95332B #8D952B
monochromatic
#102036 #1D3C66 #2B5895 #3974C4 #6795D3

Accessibility & contrast

On white

7.16
#2B5895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2B5895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5895
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5895#FFFFFF#000000##FFFFFF
##2B58951.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5D97
Deuteranopia (green-blind)
#2B5394
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2b5895;
/* rgb */ color: rgb(43, 88, 149);
/* oklch */ color: oklch(46.0% 0.111 256.7);
Tailwind
colors: {
  custom: {
    50: '#7186b4',
    500: '#2b5895',
    950: '#000000',
  },
}
SCSS
$custom: #2b5895;
$custom-light: #7186b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5895",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 149
  },
  "hsl": {
    "h": 214.528,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46037,
    "c": 0.11143,
    "h": 256.7
  },
  "luminance": 0.09663
}

Semantic roles & 50–950 ramp

primary
#2B5895
secondary
#BA9462
accent
#9F49DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2B5895

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

Preview Lab → · Contrast checker → · Palette generator →

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