#2B5B94#2B5B94

#2B5B94 is a mid, moderate cyan. Relative luminance 0.101; OKLCH L 46.7% C 0.107 H 254.3°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2B5B94
RGBrgb(43, 91, 148)
HSLhsl(213, 55%, 37%)
HSVhsv(213, 71%, 58%)
CMYKcmyk(70.9%, 38.5%, 0%, 42%)
CIE-LABlab(38.08, 3.57, -36.08)
CIE-LCHlch(38.08, 36.26, 275.66°)
OKLaboklab(46.68% -0.0289 -0.1027)
OKLCHoklch(46.68% 0.107 254.3)
XYZxyz(10.0807, 10.1328, 29.4358)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5B94 #94642B
analogous
#2B9094 #2B5B94 #2F2B94
triadic
#2B5B94 #942B5B #5B942B
tetradic
#2B5B94 #942B90 #94642B #2B942F
square
#2B5B94 #942B90 #94642B #2B942F
split-complementary
#2B5B94 #942F2B #90942B
monochromatic
#0F2135 #1D3E65 #2B5B94 #3978C3 #6798D3

Accessibility & contrast

On white

6.94
#2B5B94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B5B94
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5B94#FFFFFF#000000##FFFFFF
##2B5B941.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415F96
Deuteranopia (green-blind)
#325593
Tritanopia (blue-blind)
#006870
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b5b94;
/* rgb */ color: rgb(43, 91, 148);
/* oklch */ color: oklch(46.7% 0.107 254.3);
Tailwind
colors: {
  custom: {
    50: '#7189b4',
    500: '#2b5b94',
    950: '#000000',
  },
}
SCSS
$custom: #2b5b94;
$custom-light: #7189b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5b94",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 148
  },
  "hsl": {
    "h": 212.571,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46682,
    "c": 0.10665,
    "h": 254.3
  },
  "luminance": 0.10134
}

Semantic roles & 50–950 ramp

primary
#2B5B94
secondary
#B99162
accent
#9A49DE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2B5B94

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

Preview Lab → · Contrast checker → · Palette generator →

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