#2A3CAF#2A3CAF

#2A3CAF is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.183 H 269.6°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#2A3CAF
RGBrgb(42, 60, 175)
HSLhsl(232, 61%, 43%)
HSVhsv(232, 76%, 69%)
CMYKcmyk(76%, 65.7%, 0%, 31.4%)
CIE-LABlab(31.39, 34.16, -63.10)
CIE-LCHlch(31.39, 71.75, 298.43°)
OKLaboklab(42.21% -0.0013 -0.1825)
OKLCHoklch(42.21% 0.183 269.6)
XYZxyz(10.3059, 6.8180, 41.3220)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3CAF #AF9D2A
analogous
#2A7EAF #2A3CAF #5B2AAF
triadic
#2A3CAF #AF2A3C #3CAF2A
tetradic
#2A3CAF #AF2A7E #AF9D2A #2AAF5B
square
#2A3CAF #AF2A7E #AF9D2A #2AAF5B
split-complementary
#2A3CAF #AF5B2A #7EAF2A
monochromatic
#121A4C #1E2B7E #2A3CAF #4457D2 #7584DE

Accessibility & contrast

On white

8.88
#2A3CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2A3CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3CAF
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3CAF#FFFFFF#000000##FFFFFF
##2A3CAF1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a3caf;
/* rgb */ color: rgb(42, 60, 175);
/* oklch */ color: oklch(42.2% 0.183 269.6);
Tailwind
colors: {
  custom: {
    50: '#7971c8',
    500: '#2a3caf',
    950: '#000000',
  },
}
SCSS
$custom: #2a3caf;
$custom-light: #7971c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3caf",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 231.88,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42213,
    "c": 0.18251,
    "h": 269.6
  },
  "luminance": 0.06819
}

Semantic roles & 50–950 ramp

primary
#2A3CAF
secondary
#C6BA6F
accent
#CF43E4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2A3CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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