#2A4BC9#2A4BC9

#2A4BC9 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.3% C 0.199 H 266.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#2A4BC9
RGBrgb(42, 75, 201)
HSLhsl(228, 65%, 48%)
HSVhsv(228, 79%, 79%)
CMYKcmyk(79.1%, 62.7%, 0%, 21.2%)
CIE-LABlab(37.37, 34.07, -68.59)
CIE-LCHlch(37.37, 76.59, 296.41°)
OKLaboklab(47.32% -0.011 -0.1985)
OKLCHoklch(47.32% 0.199 266.8)
XYZxyz(14.0098, 9.7398, 56.3886)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4BC9 #C9A82A
analogous
#2A9BC9 #2A4BC9 #582AC9
triadic
#2A4BC9 #C92A4B #4BC92A
tetradic
#2A4BC9 #C92A9B #C9A82A #2AC958
square
#2A4BC9 #C92A9B #C9A82A #2AC958
split-complementary
#2A4BC9 #C9582A #9BC92A
monochromatic
#152564 #1F3896 #2A4BC9 #5571DB #879BE6

Accessibility & contrast

On white

7.12
#2A4BC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2A4BC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4BC9
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4BC9#FFFFFF#000000##FFFFFF
##2A4BC91.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CD
Deuteranopia (green-blind)
#0051C7
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2a4bc9;
/* rgb */ color: rgb(42, 75, 201);
/* oklch */ color: oklch(47.3% 0.199 266.8);
Tailwind
colors: {
  custom: {
    50: '#7e7dda',
    500: '#2a4bc9',
    950: '#000000',
  },
}
SCSS
$custom: #2a4bc9;
$custom-light: #7e7dda;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4bc9",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 201
  },
  "hsl": {
    "h": 227.547,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47321,
    "c": 0.19876,
    "h": 266.8
  },
  "luminance": 0.09741
}

Semantic roles & 50–950 ramp

primary
#2A4BC9
secondary
#D0BF7F
accent
#C53FE8
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #2A4BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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