#2B5FA9#2B5FA9

#2B5FA9 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.0% C 0.131 H 257.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#2B5FA9
RGBrgb(43, 95, 169)
HSLhsl(215, 59%, 42%)
HSVhsv(215, 75%, 66%)
CMYKcmyk(74.6%, 43.8%, 0%, 33.7%)
CIE-LABlab(40.51, 8.97, -44.74)
CIE-LCHlch(40.51, 45.63, 281.33°)
OKLaboklab(48.97% -0.0279 -0.128)
OKLCHoklch(48.97% 0.131 257.7)
XYZxyz(12.2473, 11.5612, 39.1145)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5FA9 #A9752B
analogous
#2B9EA9 #2B5FA9 #362BA9
triadic
#2B5FA9 #A92B5F #5FA92B
tetradic
#2B5FA9 #A92B9E #A9752B #2BA936
square
#2B5FA9 #A92B9E #A9752B #2BA936
split-complementary
#2B5FA9 #A9362B #9EA92B
monochromatic
#122847 #1F4478 #2B5FA9 #427CCF #739EDB

Accessibility & contrast

On white

6.34
#2B5FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#2B5FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5FA9
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5FA9#FFFFFF#000000##FFFFFF
##2B5FA91.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A66AC
Deuteranopia (green-blind)
#235AA8
Tritanopia (blue-blind)
#00707B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b5fa9;
/* rgb */ color: rgb(43, 95, 169);
/* oklch */ color: oklch(49.0% 0.131 257.7);
Tailwind
colors: {
  custom: {
    50: '#758bc3',
    500: '#2b5fa9',
    950: '#000000',
  },
}
SCSS
$custom: #2b5fa9;
$custom-light: #758bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5fa9",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 169
  },
  "hsl": {
    "h": 215.238,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48971,
    "c": 0.13104,
    "h": 257.7
  },
  "luminance": 0.11563
}

Semantic roles & 50–950 ramp

primary
#2B5FA9
secondary
#C39F6D
accent
#A245E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2B5FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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