#2B64B4#2B64B4

#2B64B4 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 50.8% C 0.140 H 257.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2B64B4
RGBrgb(43, 100, 180)
HSLhsl(215, 61%, 44%)
HSVhsv(215, 76%, 71%)
CMYKcmyk(76.1%, 44.4%, 0%, 29.4%)
CIE-LABlab(42.64, 9.94, -47.80)
CIE-LCHlch(42.64, 48.82, 281.75°)
OKLaboklab(50.84% -0.0302 -0.1369)
OKLCHoklch(50.84% 0.14 257.6)
XYZxyz(13.7886, 12.9216, 44.9386)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B64B4 #B47B2B
analogous
#2BA8B4 #2B64B4 #362BB4
triadic
#2B64B4 #B42B64 #64B42B
tetradic
#2B64B4 #B42BA8 #B47B2B #2BB436
square
#2B64B4 #B42BA8 #B47B2B #2BB436
split-complementary
#2B64B4 #B4362B #A8B42B
monochromatic
#132D51 #1F4983 #2B64B4 #4982D3 #7AA4DF

Accessibility & contrast

On white

5.86
#2B64B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2B64B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B64B4
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B64B4#FFFFFF#000000##FFFFFF
##2B64B41.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6BB7
Deuteranopia (green-blind)
#205FB2
Tritanopia (blue-blind)
#007783
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2b64b4;
/* rgb */ color: rgb(43, 100, 180);
/* oklch */ color: oklch(50.8% 0.140 257.6);
Tailwind
colors: {
  custom: {
    50: '#788fcb',
    500: '#2b64b4',
    950: '#000000',
  },
}
SCSS
$custom: #2b64b4;
$custom-light: #788fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b64b4",
  "rgb": {
    "r": 43,
    "g": 100,
    "b": 180
  },
  "hsl": {
    "h": 215.036,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50841,
    "c": 0.14019,
    "h": 257.6
  },
  "luminance": 0.12923
}

Semantic roles & 50–950 ramp

primary
#2B64B4
secondary
#C7A473
accent
#A143E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2B64B4

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

Preview Lab → · Contrast checker → · Palette generator →

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