#2B5E9B#2B5E9B

#2B5E9B is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.8% C 0.113 H 254.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#2B5E9B
RGBrgb(43, 94, 155)
HSLhsl(213, 57%, 39%)
HSVhsv(213, 72%, 61%)
CMYKcmyk(72.3%, 39.4%, 0%, 39.2%)
CIE-LABlab(39.39, 4.29, -38.21)
CIE-LCHlch(39.39, 38.45, 276.41°)
OKLaboklab(47.83% -0.0301 -0.1089)
OKLCHoklch(47.83% 0.113 254.5)
XYZxyz(10.9132, 10.8844, 32.5297)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5E9B #9B682B
analogous
#2B969B #2B5E9B #302B9B
triadic
#2B5E9B #9B2B5E #5E9B2B
tetradic
#2B5E9B #9B2B96 #9B682B #2B9B30
square
#2B5E9B #9B2B96 #9B682B #2B9B30
split-complementary
#2B5E9B #9B302B #969B2B
monochromatic
#10243B #1E416B #2B5E9B #3B7BC9 #6B9BD6

Accessibility & contrast

On white

6.61
#2B5E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2B5E9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5E9B
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5E9B#FFFFFF#000000##FFFFFF
##2B5E9B1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42629D
Deuteranopia (green-blind)
#31589A
Tritanopia (blue-blind)
#006C75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b5e9b;
/* rgb */ color: rgb(43, 94, 155);
/* oklch */ color: oklch(47.8% 0.113 254.5);
Tailwind
colors: {
  custom: {
    50: '#738bb9',
    500: '#2b5e9b',
    950: '#000000',
  },
}
SCSS
$custom: #2b5e9b;
$custom-light: #738bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5e9b",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 155
  },
  "hsl": {
    "h": 212.679,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47829,
    "c": 0.11296,
    "h": 254.5
  },
  "luminance": 0.10886
}

Semantic roles & 50–950 ramp

primary
#2B5E9B
secondary
#BC9565
accent
#9B48E0
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2B5E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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