#2A3EB0#2A3EB0

#2A3EB0 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.181 H 269.2°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#2A3EB0
RGBrgb(42, 62, 176)
HSLhsl(231, 61%, 43%)
HSVhsv(231, 76%, 69%)
CMYKcmyk(76.1%, 64.8%, 0%, 31%)
CIE-LABlab(31.97, 33.24, -62.74)
CIE-LCHlch(31.97, 71.00, 297.91°)
OKLaboklab(42.67% -0.0026 -0.1815)
OKLCHoklch(42.67% 0.181 269.2)
XYZxyz(10.5112, 7.0709, 41.8767)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3EB0 #B09C2A
analogous
#2A81B0 #2A3EB0 #592AB0
triadic
#2A3EB0 #B02A3E #3EB02A
tetradic
#2A3EB0 #B02A81 #B09C2A #2AB059
square
#2A3EB0 #B02A81 #B09C2A #2AB059
split-complementary
#2A3EB0 #B0592A #81B02A
monochromatic
#121B4D #1E2D7F #2A3EB0 #455AD3 #7686DE

Accessibility & contrast

On white

8.70
#2A3EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2A3EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3EB0
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3EB0#FFFFFF#000000##FFFFFF
##2A3EB01.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0045AE
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a3eb0;
/* rgb */ color: rgb(42, 62, 176);
/* oklch */ color: oklch(42.7% 0.181 269.2);
Tailwind
colors: {
  custom: {
    50: '#7973c9',
    500: '#2a3eb0',
    950: '#000000',
  },
}
SCSS
$custom: #2a3eb0;
$custom-light: #7973c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3eb0",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 176
  },
  "hsl": {
    "h": 231.045,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42665,
    "c": 0.18148,
    "h": 269.2
  },
  "luminance": 0.07072
}

Semantic roles & 50–950 ramp

primary
#2A3EB0
secondary
#C6B970
accent
#CC43E5
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2A3EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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