#2A3EB6#2A3EB6

#2A3EB6 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.2% C 0.189 H 269.1°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#2A3EB6
RGBrgb(42, 62, 182)
HSLhsl(231, 63%, 44%)
HSVhsv(231, 77%, 71%)
CMYKcmyk(76.9%, 65.9%, 0%, 28.6%)
CIE-LABlab(32.51, 35.43, -65.42)
CIE-LCHlch(32.51, 74.40, 298.44°)
OKLaboklab(43.23% -0.0029 -0.1893)
OKLCHoklch(43.23% 0.189 269.1)
XYZxyz(11.1181, 7.3137, 45.0726)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3EB6 #B6A22A
analogous
#2A84B6 #2A3EB6 #5C2AB6
triadic
#2A3EB6 #B62A3E #3EB62A
tetradic
#2A3EB6 #B62A84 #B6A22A #2AB65C
square
#2A3EB6 #B62A84 #B6A22A #2AB65C
split-complementary
#2A3EB6 #B65C2A #84B62A
monochromatic
#131C53 #1F2D84 #2A3EB6 #485CD5 #7A89E0

Accessibility & contrast

On white

8.53
#2A3EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2A3EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3EB6
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3EB6#FFFFFF#000000##FFFFFF
##2A3EB61.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0046B4
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a3eb6;
/* rgb */ color: rgb(42, 62, 182);
/* oklch */ color: oklch(43.2% 0.189 269.1);
Tailwind
colors: {
  custom: {
    50: '#7a73cd',
    500: '#2a3eb6',
    950: '#000000',
  },
}
SCSS
$custom: #2a3eb6;
$custom-light: #7a73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3eb6",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 182
  },
  "hsl": {
    "h": 231.429,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43229,
    "c": 0.18931,
    "h": 269.1
  },
  "luminance": 0.07315
}

Semantic roles & 50–950 ramp

primary
#2A3EB6
secondary
#C8BC73
accent
#CE42E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2A3EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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