#2A3B8D#2A3B8D

#2A3B8D is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.0% C 0.137 H 270.0°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#2A3B8D
RGBrgb(42, 59, 141)
HSLhsl(230, 54%, 36%)
HSVhsv(230, 70%, 55%)
CMYKcmyk(70.2%, 58.2%, 0%, 44.7%)
CIE-LABlab(28.23, 22.14, -47.63)
CIE-LCHlch(28.23, 52.52, 294.93°)
OKLaboklab(38.97% 0 -0.1372)
OKLCHoklch(38.97% 0.137 270)
XYZxyz(7.3249, 5.5426, 25.8779)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3B8D #8D7C2A
analogous
#2A6C8D #2A3B8D #4A2A8D
triadic
#2A3B8D #8D2A3B #3B8D2A
tetradic
#2A3B8D #8D2A6C #8D7C2A #2A8D4A
square
#2A3B8D #8D2A6C #8D7C2A #2A8D4A
split-complementary
#2A3B8D #8D4A2A #6C8D2A
monochromatic
#0E142F #1C275E #2A3B8D #384FBC #6174D0

Accessibility & contrast

On white

9.96
#2A3B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2A3B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3B8D
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3B8D#FFFFFF#000000##FFFFFF
##2A3B8D1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a3b8d;
/* rgb */ color: rgb(42, 59, 141);
/* oklch */ color: oklch(39.0% 0.137 270.0);
Tailwind
colors: {
  custom: {
    50: '#7170af',
    500: '#2a3b8d',
    950: '#000000',
  },
}
SCSS
$custom: #2a3b8d;
$custom-light: #7170af;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3b8d",
  "rgb": {
    "r": 42,
    "g": 59,
    "b": 141
  },
  "hsl": {
    "h": 229.697,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38974,
    "c": 0.13716,
    "h": 270
  },
  "luminance": 0.05543
}

Semantic roles & 50–950 ramp

primary
#2A3B8D
secondary
#B6A75D
accent
#C44ADD
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2A3B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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