#2A3BA8#2A3BA8

#2A3BA8 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.4% C 0.174 H 269.9°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#2A3BA8
RGBrgb(42, 59, 168)
HSLhsl(232, 60%, 41%)
HSVhsv(232, 75%, 66%)
CMYKcmyk(75%, 64.9%, 0%, 34.1%)
CIE-LABlab(30.51, 32.24, -60.34)
CIE-LCHlch(30.51, 68.42, 298.12°)
OKLaboklab(41.38% -0.0003 -0.1745)
OKLCHoklch(41.38% 0.174 269.9)
XYZxyz(9.5843, 6.4463, 37.7773)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3BA8 #A8972A
analogous
#2A7AA8 #2A3BA8 #582AA8
triadic
#2A3BA8 #A82A3B #3BA82A
tetradic
#2A3BA8 #A82A7A #A8972A #2AA858
square
#2A3BA8 #A82A7A #A8972A #2AA858
split-complementary
#2A3BA8 #A8582A #7AA82A
monochromatic
#121946 #1E2A77 #2A3BA8 #4053CF #717FDB

Accessibility & contrast

On white

9.17
#2A3BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2A3BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3BA8
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3BA8#FFFFFF#000000##FFFFFF
##2A3BA81.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0042A6
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a3ba8;
/* rgb */ color: rgb(42, 59, 168);
/* oklch */ color: oklch(41.4% 0.174 269.9);
Tailwind
colors: {
  custom: {
    50: '#7771c3',
    500: '#2a3ba8',
    950: '#000000',
  },
}
SCSS
$custom: #2a3ba8;
$custom-light: #7771c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3ba8",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 168
  },
  "hsl": {
    "h": 231.905,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41376,
    "c": 0.17446,
    "h": 269.9
  },
  "luminance": 0.06447
}

Semantic roles & 50–950 ramp

primary
#2A3BA8
secondary
#C3B76B
accent
#CE45E3
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2A3BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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