#2B5AA9#2B5AA9

#2B5AA9 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.8% C 0.137 H 260.2°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#2B5AA9
RGBrgb(43, 90, 169)
HSLhsl(218, 59%, 42%)
HSVhsv(218, 75%, 66%)
CMYKcmyk(74.6%, 46.7%, 0%, 33.7%)
CIE-LABlab(39.05, 12.22, -47.08)
CIE-LCHlch(39.05, 48.64, 284.55°)
OKLaboklab(47.85% -0.0234 -0.135)
OKLCHoklch(47.85% 0.137 260.2)
XYZxyz(11.8113, 10.6892, 38.9692)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5AA9 #A97A2B
analogous
#2B99A9 #2B5AA9 #3B2BA9
triadic
#2B5AA9 #A92B5A #5AA92B
tetradic
#2B5AA9 #A92B99 #A97A2B #2BA93B
square
#2B5AA9 #A92B99 #A97A2B #2BA93B
split-complementary
#2B5AA9 #A93B2B #99A92B
monochromatic
#122647 #1F4078 #2B5AA9 #4277CF #739ADB

Accessibility & contrast

On white

6.69
#2B5AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2B5AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5AA9
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5AA9#FFFFFF#000000##FFFFFF
##2B5AA91.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3062AC
Deuteranopia (green-blind)
#1357A7
Tritanopia (blue-blind)
#006D79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b5aa9;
/* rgb */ color: rgb(43, 90, 169);
/* oklch */ color: oklch(47.8% 0.137 260.2);
Tailwind
colors: {
  custom: {
    50: '#7688c3',
    500: '#2b5aa9',
    950: '#000000',
  },
}
SCSS
$custom: #2b5aa9;
$custom-light: #7688c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5aa9",
  "rgb": {
    "r": 43,
    "g": 90,
    "b": 169
  },
  "hsl": {
    "h": 217.619,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47846,
    "c": 0.13702,
    "h": 260.2
  },
  "luminance": 0.1069
}

Semantic roles & 50–950 ramp

primary
#2B5AA9
secondary
#C3A36D
accent
#A845E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2B5AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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