#2B5AC7#2B5AC7

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

Color values

HEX#2B5AC7
RGBrgb(43, 90, 199)
HSLhsl(222, 64%, 47%)
HSVhsv(222, 78%, 78%)
CMYKcmyk(78.4%, 54.8%, 0%, 22%)
CIE-LABlab(41.13, 23.68, -61.30)
CIE-LCHlch(41.13, 65.71, 291.13°)
OKLaboklab(50.1% -0.0197 -0.1768)
OKLCHoklch(50.1% 0.178 263.6)
XYZxyz(14.9576, 11.9477, 55.5396)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5AC7 #C7982B
analogous
#2BA8C7 #2B5AC7 #4A2BC7
triadic
#2B5AC7 #C72B5A #5AC72B
tetradic
#2B5AC7 #C72BA8 #C7982B #2BC74A
square
#2B5AC7 #C72BA8 #C7982B #2BC74A
split-complementary
#2B5AC7 #C74A2B #A8C72B
monochromatic
#152C62 #204395 #2B5AC7 #557DDA #87A4E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B5AC7#FFFFFF#000000##FFFFFF
##2B5AC71.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)
#0068CB
Deuteranopia (green-blind)
#005AC5
Tritanopia (blue-blind)
#007588
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2b5ac7;
/* rgb */ color: rgb(43, 90, 199);
/* oklch */ color: oklch(50.1% 0.178 263.6);
Tailwind
colors: {
  custom: {
    50: '#7c88d9',
    500: '#2b5ac7',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ac7;
$custom-light: #7c88d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ac7",
  "rgb": {
    "r": 43,
    "g": 90,
    "b": 199
  },
  "hsl": {
    "h": 221.923,
    "s": 64.463,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50095,
    "c": 0.17792,
    "h": 263.6
  },
  "luminance": 0.11949
}

Semantic roles & 50–950 ramp

primary
#2B5AC7
secondary
#CFB77F
accent
#B540E7
background
#F8F8FD
surface
#EFEFFB
border
#CACAD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2B5AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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