#2A3CB8#2A3CB8

#2A3CB8 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.1% C 0.194 H 269.4°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#2A3CB8
RGBrgb(42, 60, 184)
HSLhsl(232, 63%, 44%)
HSVhsv(232, 77%, 72%)
CMYKcmyk(77.2%, 67.4%, 0%, 27.8%)
CIE-LABlab(32.22, 37.42, -67.08)
CIE-LCHlch(32.22, 76.81, 299.16°)
OKLaboklab(43.07% -0.002 -0.1941)
OKLCHoklch(43.07% 0.194 269.4)
XYZxyz(11.2195, 7.1834, 46.1333)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3CB8 #B8A62A
analogous
#2A83B8 #2A3CB8 #5F2AB8
triadic
#2A3CB8 #B82A3C #3CB82A
tetradic
#2A3CB8 #B82A83 #B8A62A #2AB85F
square
#2A3CB8 #B82A83 #B8A62A #2AB85F
split-complementary
#2A3CB8 #B85F2A #83B82A
monochromatic
#131C54 #1F2C86 #2A3CB8 #4A5BD6 #7B88E1

Accessibility & contrast

On white

8.62
#2A3CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2A3CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3CB8
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3CB8#FFFFFF#000000##FFFFFF
##2A3CB81.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0045B6
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a3cb8;
/* rgb */ color: rgb(42, 60, 184);
/* oklch */ color: oklch(43.1% 0.194 269.4);
Tailwind
colors: {
  custom: {
    50: '#7b72ce',
    500: '#2a3cb8',
    950: '#000000',
  },
}
SCSS
$custom: #2a3cb8;
$custom-light: #7b72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3cb8",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 232.394,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43074,
    "c": 0.19416,
    "h": 269.4
  },
  "luminance": 0.07185
}

Semantic roles & 50–950 ramp

primary
#2A3CB8
secondary
#C9BE75
accent
#D142E6
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2A3CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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