#2A4FC9#2A4FC9

#2A4FC9 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.1% C 0.194 H 266.1°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#2A4FC9
RGBrgb(42, 79, 201)
HSLhsl(226, 65%, 48%)
HSVhsv(226, 79%, 79%)
CMYKcmyk(79.1%, 60.7%, 0%, 21.2%)
CIE-LABlab(38.37, 31.49, -66.95)
CIE-LCHlch(38.37, 73.99, 295.19°)
OKLaboklab(48.07% -0.0133 -0.1936)
OKLCHoklch(48.07% 0.194 266.1)
XYZxyz(14.2897, 10.2996, 56.4819)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4FC9 #C9A42A
analogous
#2A9EC9 #2A4FC9 #552AC9
triadic
#2A4FC9 #C92A4F #4FC92A
tetradic
#2A4FC9 #C92A9E #C9A42A #2AC955
square
#2A4FC9 #C92A9E #C9A42A #2AC955
split-complementary
#2A4FC9 #C9552A #9EC92A
monochromatic
#152764 #1F3B96 #2A4FC9 #5574DB #879DE6

Accessibility & contrast

On white

6.86
#2A4FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2A4FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A4FC9
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4FC9#FFFFFF#000000##FFFFFF
##2A4FC91.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CD
Deuteranopia (green-blind)
#0053C7
Tritanopia (blue-blind)
#006E84
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a4fc9;
/* rgb */ color: rgb(42, 79, 201);
/* oklch */ color: oklch(48.1% 0.194 266.1);
Tailwind
colors: {
  custom: {
    50: '#7d80da',
    500: '#2a4fc9',
    950: '#000000',
  },
}
SCSS
$custom: #2a4fc9;
$custom-light: #7d80da;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4fc9",
  "rgb": {
    "r": 42,
    "g": 79,
    "b": 201
  },
  "hsl": {
    "h": 226.038,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48065,
    "c": 0.19406,
    "h": 266.1
  },
  "luminance": 0.10301
}

Semantic roles & 50–950 ramp

primary
#2A4FC9
secondary
#D0BD7F
accent
#C13FE8
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #2A4FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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