#2A3BAF#2A3BAF

#2A3BAF is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.0% C 0.184 H 269.8°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#2A3BAF
RGBrgb(42, 59, 175)
HSLhsl(232, 61%, 43%)
HSVhsv(232, 76%, 69%)
CMYKcmyk(76%, 66.3%, 0%, 31.4%)
CIE-LABlab(31.15, 34.80, -63.49)
CIE-LCHlch(31.15, 72.41, 298.73°)
OKLaboklab(42.04% -0.0008 -0.1837)
OKLCHoklch(42.04% 0.184 269.8)
XYZxyz(10.2540, 6.7142, 41.3047)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3BAF #AF9E2A
analogous
#2A7DAF #2A3BAF #5C2AAF
triadic
#2A3BAF #AF2A3B #3BAF2A
tetradic
#2A3BAF #AF2A7D #AF9E2A #2AAF5C
square
#2A3BAF #AF2A7D #AF9E2A #2AAF5C
split-complementary
#2A3BAF #AF5C2A #7DAF2A
monochromatic
#121A4C #1E2A7E #2A3BAF #4456D2 #7583DE

Accessibility & contrast

On white

8.96
#2A3BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2A3BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3BAF
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3BAF#FFFFFF#000000##FFFFFF
##2A3BAF1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a3baf;
/* rgb */ color: rgb(42, 59, 175);
/* oklch */ color: oklch(42.0% 0.184 269.8);
Tailwind
colors: {
  custom: {
    50: '#7971c8',
    500: '#2a3baf',
    950: '#000000',
  },
}
SCSS
$custom: #2a3baf;
$custom-light: #7971c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3baf",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 232.331,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42036,
    "c": 0.18368,
    "h": 269.8
  },
  "luminance": 0.06715
}

Semantic roles & 50–950 ramp

primary
#2A3BAF
secondary
#C6BB6F
accent
#D043E4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2A3BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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