#2A3D94#2A3D94

#2A3D94 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.145 H 269.4°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#2A3D94
RGBrgb(42, 61, 148)
HSLhsl(229, 56%, 37%)
HSVhsv(229, 72%, 58%)
CMYKcmyk(71.6%, 58.8%, 0%, 42%)
CIE-LABlab(29.33, 23.44, -50.14)
CIE-LCHlch(29.33, 55.35, 295.05°)
OKLaboklab(39.97% -0.0015 -0.1445)
OKLCHoklch(39.97% 0.145 269.4)
XYZxyz(7.9671, 5.9671, 28.7431)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3D94 #94812A
analogous
#2A7294 #2A3D94 #4C2A94
triadic
#2A3D94 #942A3D #3D942A
tetradic
#2A3D94 #942A72 #94812A #2A944C
square
#2A3D94 #942A72 #94812A #2A944C
split-complementary
#2A3D94 #944C2A #72942A
monochromatic
#0F1635 #1C2964 #2A3D94 #3851C4 #6579D3

Accessibility & contrast

On white

9.57
#2A3D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2A3D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3D94
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3D94#FFFFFF#000000##FFFFFF
##2A3D941.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a3d94;
/* rgb */ color: rgb(42, 61, 148);
/* oklch */ color: oklch(40.0% 0.145 269.4);
Tailwind
colors: {
  custom: {
    50: '#7272b4',
    500: '#2a3d94',
    950: '#000000',
  },
}
SCSS
$custom: #2a3d94;
$custom-light: #7272b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3d94",
  "rgb": {
    "r": 42,
    "g": 61,
    "b": 148
  },
  "hsl": {
    "h": 229.245,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39972,
    "c": 0.14453,
    "h": 269.4
  },
  "luminance": 0.05968
}

Semantic roles & 50–950 ramp

primary
#2A3D94
secondary
#B9A960
accent
#C449DF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2A3D94

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

Preview Lab → · Contrast checker → · Palette generator →

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