#2A3EB8#2A3EB8

#2A3EB8 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.4% C 0.192 H 269.1°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#2A3EB8
RGBrgb(42, 62, 184)
HSLhsl(232, 63%, 44%)
HSVhsv(232, 77%, 72%)
CMYKcmyk(77.2%, 66.3%, 0%, 27.8%)
CIE-LABlab(32.69, 36.16, -66.30)
CIE-LCHlch(32.69, 75.52, 298.61°)
OKLaboklab(43.42% -0.0031 -0.1919)
OKLCHoklch(43.42% 0.192 269.1)
XYZxyz(11.3262, 7.3969, 46.1689)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3EB8 #B8A42A
analogous
#2A85B8 #2A3EB8 #5D2AB8
triadic
#2A3EB8 #B82A3E #3EB82A
tetradic
#2A3EB8 #B82A85 #B8A42A #2AB85D
square
#2A3EB8 #B82A85 #B8A42A #2AB85D
split-complementary
#2A3EB8 #B85D2A #85B82A
monochromatic
#131C54 #1F2D86 #2A3EB8 #4A5DD6 #7B8AE1

Accessibility & contrast

On white

8.47
#2A3EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2A3EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3EB8
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3EB8#FFFFFF#000000##FFFFFF
##2A3EB81.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0046B6
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a3eb8;
/* rgb */ color: rgb(42, 62, 184);
/* oklch */ color: oklch(43.4% 0.192 269.1);
Tailwind
colors: {
  custom: {
    50: '#7b73ce',
    500: '#2a3eb8',
    950: '#000000',
  },
}
SCSS
$custom: #2a3eb8;
$custom-light: #7b73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3eb8",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 231.549,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43419,
    "c": 0.19189,
    "h": 269.1
  },
  "luminance": 0.07398
}

Semantic roles & 50–950 ramp

primary
#2A3EB8
secondary
#C9BD75
accent
#CF42E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2A3EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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