#2A3E90#2A3E90

#2A3E90 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.138 H 268.9°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#2A3E90
RGBrgb(42, 62, 144)
HSLhsl(228, 55%, 36%)
HSVhsv(228, 71%, 56%)
CMYKcmyk(70.8%, 56.9%, 0%, 43.5%)
CIE-LABlab(29.29, 21.24, -47.76)
CIE-LCHlch(29.29, 52.27, 293.97°)
OKLaboklab(39.84% -0.0025 -0.1375)
OKLCHoklch(39.84% 0.138 268.9)
XYZxyz(7.7098, 5.9503, 27.1224)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3E90 #907C2A
analogous
#2A7190 #2A3E90 #492A90
triadic
#2A3E90 #902A3E #3E902A
tetradic
#2A3E90 #902A71 #907C2A #2A9049
square
#2A3E90 #902A71 #907C2A #2A9049
split-complementary
#2A3E90 #90492A #71902A
monochromatic
#0E1531 #1C2A61 #2A3E90 #3852BF #6379D1

Accessibility & contrast

On white

9.59
#2A3E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3E90
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3E90#FFFFFF#000000##FFFFFF
##2A3E901.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a3e90;
/* rgb */ color: rgb(42, 62, 144);
/* oklch */ color: oklch(39.8% 0.138 268.9);
Tailwind
colors: {
  custom: {
    50: '#7172b1',
    500: '#2a3e90',
    950: '#000000',
  },
}
SCSS
$custom: #2a3e90;
$custom-light: #7172b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3e90",
  "rgb": {
    "r": 42,
    "g": 62,
    "b": 144
  },
  "hsl": {
    "h": 228.235,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39841,
    "c": 0.13751,
    "h": 268.9
  },
  "luminance": 0.05951
}

Semantic roles & 50–950 ramp

primary
#2A3E90
secondary
#B7A65E
accent
#C14ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A3E90

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

Preview Lab → · Contrast checker → · Palette generator →

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