#2B5EB7#2B5EB7

#2B5EB7 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.7% C 0.151 H 260.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#2B5EB7
RGBrgb(43, 94, 183)
HSLhsl(218, 62%, 44%)
HSVhsv(218, 77%, 72%)
CMYKcmyk(76.5%, 48.6%, 0%, 28.2%)
CIE-LABlab(41.11, 14.97, -52.01)
CIE-LCHlch(41.11, 54.12, 286.06°)
OKLaboklab(49.72% -0.0246 -0.1494)
OKLCHoklch(49.72% 0.151 260.7)
XYZxyz(13.5431, 11.9364, 46.3807)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5EB7 #B7842B
analogous
#2BA4B7 #2B5EB7 #3E2BB7
triadic
#2B5EB7 #B72B5E #5EB72B
tetradic
#2B5EB7 #B72BA4 #B7842B #2BB73E
square
#2B5EB7 #B72BA4 #B7842B #2BB73E
split-complementary
#2B5EB7 #B73E2B #A4B72B
monochromatic
#142B54 #1F4585 #2B5EB7 #4B7DD5 #7CA1E0

Accessibility & contrast

On white

6.20
#2B5EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2B5EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5EB7
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5EB7#FFFFFF#000000##FFFFFF
##2B5EB71.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B68BA
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2b5eb7;
/* rgb */ color: rgb(43, 94, 183);
/* oklch */ color: oklch(49.7% 0.151 260.7);
Tailwind
colors: {
  custom: {
    50: '#798bcd',
    500: '#2b5eb7',
    950: '#000000',
  },
}
SCSS
$custom: #2b5eb7;
$custom-light: #798bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5eb7",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 183
  },
  "hsl": {
    "h": 218.143,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49724,
    "c": 0.15143,
    "h": 260.7
  },
  "luminance": 0.11938
}

Semantic roles & 50–950 ramp

primary
#2B5EB7
secondary
#C9AA75
accent
#AA43E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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