#2A5BB3#2A5BB3

#2A5BB3 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.7% C 0.150 H 261.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#2A5BB3
RGBrgb(42, 91, 179)
HSLhsl(219, 62%, 43%)
HSVhsv(219, 77%, 70%)
CMYKcmyk(76.5%, 49.2%, 0%, 29.8%)
CIE-LABlab(39.96, 15.27, -51.52)
CIE-LCHlch(39.96, 53.74, 286.51°)
OKLaboklab(48.75% -0.0234 -0.1481)
OKLCHoklch(48.75% 0.15 261)
XYZxyz(12.8297, 11.2276, 44.1301)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5BB3 #B3822A
analogous
#2A9FB3 #2A5BB3 #3D2AB3
triadic
#2A5BB3 #B32A5B #5BB32A
tetradic
#2A5BB3 #B32A9F #B3822A #2AB33D
square
#2A5BB3 #B32A9F #B3822A #2AB33D
split-complementary
#2A5BB3 #B33D2A #9FB32A
monochromatic
#132950 #1E4281 #2A5BB3 #4679D4 #789DDF

Accessibility & contrast

On white

6.47
#2A5BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2A5BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A5BB3
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5BB3#FFFFFF#000000##FFFFFF
##2A5BB31.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2865B6
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2a5bb3;
/* rgb */ color: rgb(42, 91, 179);
/* oklch */ color: oklch(48.7% 0.150 261.0);
Tailwind
colors: {
  custom: {
    50: '#7788ca',
    500: '#2a5bb3',
    950: '#000000',
  },
}
SCSS
$custom: #2a5bb3;
$custom-light: #7788ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5bb3",
  "rgb": {
    "r": 42,
    "g": 91,
    "b": 179
  },
  "hsl": {
    "h": 218.54,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48745,
    "c": 0.14991,
    "h": 261
  },
  "luminance": 0.11229
}

Semantic roles & 50–950 ramp

primary
#2A5BB3
secondary
#C7A972
accent
#AB43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2A5BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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