#2A64DF#2A64DF

#2A64DF is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.0% C 0.198 H 262.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2A64DF
RGBrgb(42, 100, 223)
HSLhsl(221, 74%, 52%)
HSVhsv(221, 81%, 87%)
CMYKcmyk(81.2%, 55.2%, 0%, 12.5%)
CIE-LABlab(45.54, 26.20, -67.89)
CIE-LCHlch(45.54, 72.77, 291.10°)
OKLaboklab(53.98% -0.0252 -0.196)
OKLCHoklch(53.98% 0.198 262.7)
XYZxyz(18.8265, 14.9320, 71.6876)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A64DF #DFA52A
analogous
#2ABFDF #2A64DF #4A2ADF
triadic
#2A64DF #DF2A64 #64DF2A
tetradic
#2A64DF #DF2ABF #DFA52A #2ADF4A
square
#2A64DF #DF2ABF #DFA52A #2ADF4A
split-complementary
#2A64DF #DF4A2A #BFDF2A
monochromatic
#13347C #1B4BB1 #2A64DF #5F8BE7 #94B1EF

Accessibility & contrast

On white

5.27
#2A64DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2A64DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A64DF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A64DF#FFFFFF#000000##FFFFFF
##2A64DF1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#0064DD
Tritanopia (blue-blind)
#008398
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a64df;
/* rgb */ color: rgb(42, 100, 223);
/* oklch */ color: oklch(54.0% 0.198 262.7);
Tailwind
colors: {
  custom: {
    50: '#818fea',
    500: '#2a64df',
    950: '#000000',
  },
}
SCSS
$custom: #2a64df;
$custom-light: #818fea;
$custom-dark: #000000;
JSON
{
  "hex": "#2a64df",
  "rgb": {
    "r": 42,
    "g": 100,
    "b": 223
  },
  "hsl": {
    "h": 220.773,
    "s": 73.878,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53977,
    "c": 0.19764,
    "h": 262.7
  },
  "luminance": 0.14934
}

Semantic roles & 50–950 ramp

primary
#2A64DF
secondary
#DAC18B
accent
#B537F1
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0C0C16
muted
#7D7D84

Preview Lab

Preview with #2A64DF

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

Preview Lab → · Contrast checker → · Palette generator →

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