#2A3E92#2A3E92

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

Color values

HEX#2A3E92
RGBrgb(42, 62, 146)
HSLhsl(228, 55%, 37%)
HSVhsv(228, 71%, 57%)
CMYKcmyk(71.2%, 57.5%, 0%, 42.7%)
CIE-LABlab(29.44, 22.00, -48.73)
CIE-LCHlch(29.44, 53.47, 294.30°)
OKLaboklab(40.01% -0.0024 -0.1404)
OKLCHoklch(40.01% 0.14 269)
XYZxyz(7.8640, 6.0120, 27.9346)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3E92 #927E2A
analogous
#2A7292 #2A3E92 #4A2A92
triadic
#2A3E92 #922A3E #3E922A
tetradic
#2A3E92 #922A72 #927E2A #2A924A
square
#2A3E92 #922A72 #927E2A #2A924A
split-complementary
#2A3E92 #924A2A #72922A
monochromatic
#0F1633 #1C2A62 #2A3E92 #3852C2 #6479D2

Accessibility & contrast

On white

9.53
#2A3E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2A3E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3E92
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3E92#FFFFFF#000000##FFFFFF
##2A3E921.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#004190
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a3e92;
/* rgb */ color: rgb(42, 62, 146);
/* oklch */ color: oklch(40.0% 0.140 269.0);
Tailwind
colors: {
  custom: {
    50: '#7273b3',
    500: '#2a3e92',
    950: '#000000',
  },
}
SCSS
$custom: #2a3e92;
$custom-light: #7273b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3e92",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 146
  },
  "hsl": {
    "h": 228.462,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40008,
    "c": 0.14038,
    "h": 269
  },
  "luminance": 0.06013
}

Semantic roles & 50–950 ramp

primary
#2A3E92
secondary
#B8A75F
accent
#C249DF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A3E92

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

Preview Lab → · Contrast checker → · Palette generator →

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