#2B5FC8#2B5FC8

#2B5FC8 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.2% C 0.173 H 262.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#2B5FC8
RGBrgb(43, 95, 200)
HSLhsl(220, 65%, 48%)
HSVhsv(220, 79%, 78%)
CMYKcmyk(78.5%, 52.5%, 0%, 21.6%)
CIE-LABlab(42.56, 20.81, -59.56)
CIE-LCHlch(42.56, 63.09, 289.26°)
OKLaboklab(51.2% -0.0232 -0.1716)
OKLCHoklch(51.2% 0.173 262.3)
XYZxyz(15.5100, 12.8663, 56.2984)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5FC8 #C8942B
analogous
#2BAEC8 #2B5FC8 #452BC8
triadic
#2B5FC8 #C82B5F #5FC82B
tetradic
#2B5FC8 #C82BAE #C8942B #2BC845
square
#2B5FC8 #C82BAE #C8942B #2BC845
split-complementary
#2B5FC8 #C8452B #AEC82B
monochromatic
#152F63 #204796 #2B5FC8 #5682DB #88A7E5

Accessibility & contrast

On white

5.88
#2B5FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#2B5FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5FC8
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5FC8#FFFFFF#000000##FFFFFF
##2B5FC81.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116CCC
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#00798A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2b5fc8;
/* rgb */ color: rgb(43, 95, 200);
/* oklch */ color: oklch(51.2% 0.173 262.3);
Tailwind
colors: {
  custom: {
    50: '#7c8bd9',
    500: '#2b5fc8',
    950: '#000000',
  },
}
SCSS
$custom: #2b5fc8;
$custom-light: #7c8bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5fc8",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 200
  },
  "hsl": {
    "h": 220.127,
    "s": 64.609,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51201,
    "c": 0.17318,
    "h": 262.3
  },
  "luminance": 0.12868
}

Semantic roles & 50–950 ramp

primary
#2B5FC8
secondary
#CFB580
accent
#B040E8
background
#F8F8FD
surface
#EFF0FB
border
#CACBD4
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2B5FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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