#2A43AF#2A43AF

#2A43AF is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.5% C 0.174 H 268.1°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2A43AF
RGBrgb(42, 67, 175)
HSLhsl(229, 61%, 43%)
HSVhsv(229, 76%, 69%)
CMYKcmyk(76%, 61.7%, 0%, 31.4%)
CIE-LABlab(33.14, 29.61, -60.23)
CIE-LCHlch(33.14, 67.12, 296.18°)
OKLaboklab(43.5% -0.0058 -0.1741)
OKLCHoklch(43.5% 0.174 268.1)
XYZxyz(10.6972, 7.6005, 41.4524)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A43AF #AF962A
analogous
#2A85AF #2A43AF #542AAF
triadic
#2A43AF #AF2A43 #43AF2A
tetradic
#2A43AF #AF2A85 #AF962A #2AAF54
square
#2A43AF #AF2A85 #AF962A #2AAF54
split-complementary
#2A43AF #AF542A #85AF2A
monochromatic
#121D4C #1E307E #2A43AF #445FD2 #7589DE

Accessibility & contrast

On white

8.33
#2A43AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2A43AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A43AF
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A43AF#FFFFFF#000000##FFFFFF
##2A43AF1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a43af;
/* rgb */ color: rgb(42, 67, 175);
/* oklch */ color: oklch(43.5% 0.174 268.1);
Tailwind
colors: {
  custom: {
    50: '#7876c8',
    500: '#2a43af',
    950: '#000000',
  },
}
SCSS
$custom: #2a43af;
$custom-light: #7876c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a43af",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 175
  },
  "hsl": {
    "h": 228.722,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43501,
    "c": 0.17417,
    "h": 268.1
  },
  "luminance": 0.07602
}

Semantic roles & 50–950 ramp

primary
#2A43AF
secondary
#C6B56F
accent
#C643E4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2A43AF

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

Preview Lab → · Contrast checker → · Palette generator →

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