#2A4BBC#2A4BBC

#2A4BBC is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.2% C 0.182 H 266.5°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#2A4BBC
RGBrgb(42, 75, 188)
HSLhsl(226, 63%, 45%)
HSVhsv(226, 78%, 74%)
CMYKcmyk(77.7%, 60.1%, 0%, 26.3%)
CIE-LABlab(36.28, 29.23, -62.79)
CIE-LCHlch(36.28, 69.26, 294.97°)
OKLaboklab(46.17% -0.0109 -0.1814)
OKLCHoklch(46.17% 0.182 266.5)
XYZxyz(12.5448, 9.1538, 48.6729)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4BBC #BC9B2A
analogous
#2A94BC #2A4BBC #522ABC
triadic
#2A4BBC #BC2A4B #4BBC2A
tetradic
#2A4BBC #BC2A94 #BC9B2A #2ABC52
square
#2A4BBC #BC2A94 #BC9B2A #2ABC52
split-complementary
#2A4BBC #BC522A #94BC2A
monochromatic
#142358 #1F378A #2A4BBC #4C6CD7 #7E95E2

Accessibility & contrast

On white

7.42
#2A4BBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2A4BBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4BBC
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4BBC#FFFFFF#000000##FFFFFF
##2A4BBC1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2a4bbc;
/* rgb */ color: rgb(42, 75, 188);
/* oklch */ color: oklch(46.2% 0.182 266.5);
Tailwind
colors: {
  custom: {
    50: '#7b7cd1',
    500: '#2a4bbc',
    950: '#000000',
  },
}
SCSS
$custom: #2a4bbc;
$custom-light: #7b7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4bbc",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 188
  },
  "hsl": {
    "h": 226.438,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46172,
    "c": 0.18178,
    "h": 266.5
  },
  "luminance": 0.09155
}

Semantic roles & 50–950 ramp

primary
#2A4BBC
secondary
#CBB877
accent
#C141E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2A4BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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