#2A3D88#2A3D88

#2A3D88 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.127 H 269.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2A3D88
RGBrgb(42, 61, 136)
HSLhsl(228, 53%, 35%)
HSVhsv(228, 69%, 53%)
CMYKcmyk(69.1%, 55.1%, 0%, 46.7%)
CIE-LABlab(28.40, 18.87, -44.26)
CIE-LCHlch(28.40, 48.12, 293.09°)
OKLaboklab(38.98% -0.0021 -0.1272)
OKLCHoklch(38.98% 0.127 269)
XYZxyz(7.0660, 5.6066, 23.9976)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3D88 #88752A
analogous
#2A6C88 #2A3D88 #462A88
triadic
#2A3D88 #882A3D #3D882A
tetradic
#2A3D88 #882A6C #88752A #2A8846
square
#2A3D88 #882A6C #88752A #2A8846
split-complementary
#2A3D88 #88462A #6C882A
monochromatic
#0D132A #1C2859 #2A3D88 #3852B7 #5F75CE

Accessibility & contrast

On white

9.90
#2A3D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2A3D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3D88
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3D88#FFFFFF#000000##FFFFFF
##2A3D881.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07478B
Deuteranopia (green-blind)
#003F86
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a3d88;
/* rgb */ color: rgb(42, 61, 136);
/* oklch */ color: oklch(39.0% 0.127 269.0);
Tailwind
colors: {
  custom: {
    50: '#6f72ab',
    500: '#2a3d88',
    950: '#000000',
  },
}
SCSS
$custom: #2a3d88;
$custom-light: #6f72ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3d88",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 136
  },
  "hsl": {
    "h": 227.872,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38979,
    "c": 0.12724,
    "h": 269
  },
  "luminance": 0.05607
}

Semantic roles & 50–950 ramp

primary
#2A3D88
secondary
#B3A15B
accent
#BF4CDC
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2A3D88

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

Preview Lab → · Contrast checker → · Palette generator →

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