#2A3EB3#2A3EB3

#2A3EB3 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.9% C 0.185 H 269.1°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#2A3EB3
RGBrgb(42, 62, 179)
HSLhsl(231, 62%, 43%)
HSVhsv(231, 77%, 70%)
CMYKcmyk(76.5%, 65.4%, 0%, 29.8%)
CIE-LABlab(32.24, 34.34, -64.08)
CIE-LCHlch(32.24, 72.71, 298.18°)
OKLaboklab(42.95% -0.0028 -0.1854)
OKLCHoklch(42.95% 0.185 269.1)
XYZxyz(10.8114, 7.1910, 43.4573)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3EB3 #B39F2A
analogous
#2A82B3 #2A3EB3 #5A2AB3
triadic
#2A3EB3 #B32A3E #3EB32A
tetradic
#2A3EB3 #B32A82 #B39F2A #2AB35A
square
#2A3EB3 #B32A82 #B39F2A #2AB35A
split-complementary
#2A3EB3 #B35A2A #82B32A
monochromatic
#131C50 #1E2D81 #2A3EB3 #465BD4 #7887DF

Accessibility & contrast

On white

8.61
#2A3EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2A3EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3EB3
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3EB3#FFFFFF#000000##FFFFFF
##2A3EB31.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a3eb3;
/* rgb */ color: rgb(42, 62, 179);
/* oklch */ color: oklch(42.9% 0.185 269.1);
Tailwind
colors: {
  custom: {
    50: '#7973cb',
    500: '#2a3eb3',
    950: '#000000',
  },
}
SCSS
$custom: #2a3eb3;
$custom-light: #7973cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3eb3",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 231.241,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42946,
    "c": 0.18541,
    "h": 269.1
  },
  "luminance": 0.07192
}

Semantic roles & 50–950 ramp

primary
#2A3EB3
secondary
#C7BB72
accent
#CD43E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2A3EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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