#2A3FB8#2A3FB8

#2A3FB8 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.6% C 0.191 H 268.9°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#2A3FB8
RGBrgb(42, 63, 184)
HSLhsl(231, 63%, 44%)
HSVhsv(231, 77%, 72%)
CMYKcmyk(77.2%, 65.8%, 0%, 27.8%)
CIE-LABlab(32.93, 35.52, -65.91)
CIE-LCHlch(32.93, 74.87, 298.32°)
OKLaboklab(43.59% -0.0036 -0.1907)
OKLCHoklch(43.59% 0.191 268.9)
XYZxyz(11.3811, 7.5067, 46.1872)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3FB8 #B8A32A
analogous
#2A86B8 #2A3FB8 #5C2AB8
triadic
#2A3FB8 #B82A3F #3FB82A
tetradic
#2A3FB8 #B82A86 #B8A32A #2AB85C
square
#2A3FB8 #B82A86 #B8A32A #2AB85C
split-complementary
#2A3FB8 #B85C2A #86B82A
monochromatic
#131D54 #1F2E86 #2A3FB8 #4A5ED6 #7B8AE1

Accessibility & contrast

On white

8.39
#2A3FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2A3FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3FB8
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3FB8#FFFFFF#000000##FFFFFF
##2A3FB81.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0047B6
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a3fb8;
/* rgb */ color: rgb(42, 63, 184);
/* oklch */ color: oklch(43.6% 0.191 268.9);
Tailwind
colors: {
  custom: {
    50: '#7b74ce',
    500: '#2a3fb8',
    950: '#000000',
  },
}
SCSS
$custom: #2a3fb8;
$custom-light: #7b74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3fb8",
  "rgb": {
    "r": 42,
    "g": 63,
    "b": 184
  },
  "hsl": {
    "h": 231.127,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43594,
    "c": 0.19074,
    "h": 268.9
  },
  "luminance": 0.07508
}

Semantic roles & 50–950 ramp

primary
#2A3FB8
secondary
#C9BD75
accent
#CE42E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2A3FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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