#2A3EAF#2A3EAF

#2A3EAF is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.180 H 269.2°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#2A3EAF
RGBrgb(42, 62, 175)
HSLhsl(231, 61%, 43%)
HSVhsv(231, 76%, 69%)
CMYKcmyk(76%, 64.6%, 0%, 31.4%)
CIE-LABlab(31.88, 32.87, -62.29)
CIE-LCHlch(31.88, 70.43, 297.82°)
OKLaboklab(42.57% -0.0026 -0.1801)
OKLCHoklch(42.57% 0.18 269.2)
XYZxyz(10.4127, 7.0315, 41.3576)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3EAF #AF9B2A
analogous
#2A81AF #2A3EAF #582AAF
triadic
#2A3EAF #AF2A3E #3EAF2A
tetradic
#2A3EAF #AF2A81 #AF9B2A #2AAF58
square
#2A3EAF #AF2A81 #AF9B2A #2AAF58
split-complementary
#2A3EAF #AF582A #81AF2A
monochromatic
#121B4C #1E2D7E #2A3EAF #4459D2 #7585DE

Accessibility & contrast

On white

8.73
#2A3EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3EAF
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3EAF#FFFFFF#000000##FFFFFF
##2A3EAF1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a3eaf;
/* rgb */ color: rgb(42, 62, 175);
/* oklch */ color: oklch(42.6% 0.180 269.2);
Tailwind
colors: {
  custom: {
    50: '#7873c8',
    500: '#2a3eaf',
    950: '#000000',
  },
}
SCSS
$custom: #2a3eaf;
$custom-light: #7873c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3eaf",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 230.977,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42572,
    "c": 0.18017,
    "h": 269.2
  },
  "luminance": 0.07033
}

Semantic roles & 50–950 ramp

primary
#2A3EAF
secondary
#C6B96F
accent
#CC43E4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2A3EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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