#2B5AAF#2B5AAF

#2B5AAF is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.3% C 0.145 H 261.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#2B5AAF
RGBrgb(43, 90, 175)
HSLhsl(219, 61%, 43%)
HSVhsv(219, 75%, 69%)
CMYKcmyk(75.4%, 48.6%, 0%, 31.4%)
CIE-LABlab(39.44, 14.52, -50.00)
CIE-LCHlch(39.44, 52.06, 286.19°)
OKLaboklab(48.27% -0.0225 -0.1436)
OKLCHoklch(48.27% 0.145 261.1)
XYZxyz(12.3875, 10.9197, 42.0040)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5AAF #AF802B
analogous
#2B9CAF #2B5AAF #3E2BAF
triadic
#2B5AAF #AF2B5A #5AAF2B
tetradic
#2B5AAF #AF2B9C #AF802B #2BAF3E
square
#2B5AAF #AF2B9C #AF802B #2BAF3E
split-complementary
#2B5AAF #AF3E2B #9CAF2B
monochromatic
#13274D #1F417E #2B5AAF #4677D1 #779BDE

Accessibility & contrast

On white

6.60
#2B5AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2B5AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5AAF
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5AAF#FFFFFF#000000##FFFFFF
##2B5AAF1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A63B2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b5aaf;
/* rgb */ color: rgb(43, 90, 175);
/* oklch */ color: oklch(48.3% 0.145 261.1);
Tailwind
colors: {
  custom: {
    50: '#7788c7',
    500: '#2b5aaf',
    950: '#000000',
  },
}
SCSS
$custom: #2b5aaf;
$custom-light: #7788c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5aaf",
  "rgb": {
    "r": 43,
    "g": 90,
    "b": 175
  },
  "hsl": {
    "h": 218.636,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48274,
    "c": 0.14533,
    "h": 261.1
  },
  "luminance": 0.10921
}

Semantic roles & 50–950 ramp

primary
#2B5AAF
secondary
#C5A770
accent
#AB44E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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