#2A55FA#2A55FA

#2A55FA is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.6% C 0.248 H 266.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#2A55FA
RGBrgb(42, 85, 250)
HSLhsl(228, 95%, 57%)
HSVhsv(228, 83%, 98%)
CMYKcmyk(83.2%, 66%, 0%, 2%)
CIE-LABlab(44.07, 45.49, -85.49)
CIE-LCHlch(44.07, 96.84, 298.02°)
OKLaboklab(53.57% -0.0172 -0.2478)
OKLCHoklch(53.57% 0.248 266)
XYZxyz(21.4526, 13.8887, 91.9741)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A55FA #FACF2A
analogous
#2ABDFA #2A55FA #672AFA
triadic
#2A55FA #FA2A55 #55FA2A
tetradic
#2A55FA #FA2ABD #FACF2A #2AFA67
square
#2A55FA #FA2ABD #FACF2A #2AFA67
split-complementary
#2A55FA #FA672A #BDFA2A
monochromatic
#0425A6 #0533E2 #2A55FA #6685FB #A2B4FD

Accessibility & contrast

On white

5.56
#2A55FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#2A55FA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A55FA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A55FA#FFFFFF#000000##FFFFFF
##2A55FA1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072FF
Deuteranopia (green-blind)
#005EF7
Tritanopia (blue-blind)
#0082A0
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a55fa;
/* rgb */ color: rgb(42, 85, 250);
/* oklch */ color: oklch(53.6% 0.248 266.0);
Tailwind
colors: {
  custom: {
    50: '#8985fd',
    500: '#2a55fa',
    950: '#000000',
  },
}
SCSS
$custom: #2a55fa;
$custom-light: #8985fd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a55fa",
  "rgb": {
    "r": 42,
    "g": 85,
    "b": 250
  },
  "hsl": {
    "h": 227.596,
    "s": 95.413,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53569,
    "c": 0.24836,
    "h": 266
  },
  "luminance": 0.13891
}

Semantic roles & 50–950 ramp

primary
#2A55FA
secondary
#EAD996
accent
#D329FF
background
#F9F8FF
surface
#F2EFFF
border
#CCCAD7
text
#0E0B18
muted
#7E7C86

Preview Lab

Preview with #2A55FA

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

Preview Lab → · Contrast checker → · Palette generator →

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