#2A64B1#2A64B1

#2A64B1 is a mid, vivid cyan. Relative luminance 0.128; OKLCH L 50.6% C 0.136 H 256.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2A64B1
RGBrgb(42, 100, 177)
HSLhsl(214, 62%, 43%)
HSVhsv(214, 76%, 69%)
CMYKcmyk(76.3%, 43.5%, 0%, 30.6%)
CIE-LABlab(42.43, 8.67, -46.39)
CIE-LCHlch(42.43, 47.19, 280.59°)
OKLaboklab(50.61% -0.0314 -0.1328)
OKLCHoklch(50.61% 0.136 256.7)
XYZxyz(13.4449, 12.7794, 43.3445)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A64B1 #B1772A
analogous
#2AA7B1 #2A64B1 #332AB1
triadic
#2A64B1 #B12A64 #64B12A
tetradic
#2A64B1 #B12AA7 #B1772A #2AB133
square
#2A64B1 #B12AA7 #B1772A #2AB133
split-complementary
#2A64B1 #B1332A #A7B12A
monochromatic
#132C4E #1E4880 #2A64B1 #4582D3 #77A3DF

Accessibility & contrast

On white

5.91
#2A64B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2A64B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A64B1
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A64B1#FFFFFF#000000##FFFFFF
##2A64B11.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6BB4
Deuteranopia (green-blind)
#245EAF
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2a64b1;
/* rgb */ color: rgb(42, 100, 177);
/* oklch */ color: oklch(50.6% 0.136 256.7);
Tailwind
colors: {
  custom: {
    50: '#778fc9',
    500: '#2a64b1',
    950: '#000000',
  },
}
SCSS
$custom: #2a64b1;
$custom-light: #778fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a64b1",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 177
  },
  "hsl": {
    "h": 214.222,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50605,
    "c": 0.13644,
    "h": 256.7
  },
  "luminance": 0.12781
}

Semantic roles & 50–950 ramp

primary
#2A64B1
secondary
#C6A170
accent
#9F43E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2A64B1

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

Preview Lab → · Contrast checker → · Palette generator →

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