#2A43A8#2A43A8

#2A43A8 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.9% C 0.165 H 268.0°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#2A43A8
RGBrgb(42, 67, 168)
HSLhsl(228, 60%, 41%)
HSVhsv(228, 75%, 66%)
CMYKcmyk(75%, 60.1%, 0%, 34.1%)
CIE-LABlab(32.55, 26.98, -57.01)
CIE-LCHlch(32.55, 63.07, 295.33°)
OKLaboklab(42.89% -0.0058 -0.1646)
OKLCHoklch(42.89% 0.165 268)
XYZxyz(10.0274, 7.3326, 37.9251)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A43A8 #A88F2A
analogous
#2A82A8 #2A43A8 #502AA8
triadic
#2A43A8 #A82A43 #43A82A
tetradic
#2A43A8 #A82A82 #A88F2A #2AA850
square
#2A43A8 #A82A82 #A88F2A #2AA850
split-complementary
#2A43A8 #A8502A #82A82A
monochromatic
#121C46 #1E2F77 #2A43A8 #405CCF #7186DB

Accessibility & contrast

On white

8.51
#2A43A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2A43A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A43A8
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A43A8#FFFFFF#000000##FFFFFF
##2A43A81.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a43a8;
/* rgb */ color: rgb(42, 67, 168);
/* oklch */ color: oklch(42.9% 0.165 268.0);
Tailwind
colors: {
  custom: {
    50: '#7676c3',
    500: '#2a43a8',
    950: '#000000',
  },
}
SCSS
$custom: #2a43a8;
$custom-light: #7676c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a43a8",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 168
  },
  "hsl": {
    "h": 228.095,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42885,
    "c": 0.1647,
    "h": 268
  },
  "luminance": 0.07334
}

Semantic roles & 50–950 ramp

primary
#2A43A8
secondary
#C3B16B
accent
#C445E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2A43A8

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

Preview Lab → · Contrast checker → · Palette generator →

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