#2A3F90#2A3F90

#2A3F90 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.0% C 0.136 H 268.6°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#2A3F90
RGBrgb(42, 63, 144)
HSLhsl(228, 55%, 36%)
HSVhsv(228, 71%, 56%)
CMYKcmyk(70.8%, 56.3%, 0%, 43.5%)
CIE-LABlab(29.56, 20.56, -47.31)
CIE-LCHlch(29.56, 51.58, 293.49°)
OKLaboklab(40.05% -0.0034 -0.1362)
OKLCHoklch(40.05% 0.136 268.6)
XYZxyz(7.7647, 6.0601, 27.1407)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3F90 #907B2A
analogous
#2A7290 #2A3F90 #482A90
triadic
#2A3F90 #902A3F #3F902A
tetradic
#2A3F90 #902A72 #907B2A #2A9048
square
#2A3F90 #902A72 #907B2A #2A9048
split-complementary
#2A3F90 #90482A #72902A
monochromatic
#0E1631 #1C2A61 #2A3F90 #3854BF #637AD1

Accessibility & contrast

On white

9.49
#2A3F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2A3F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3F90
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3F90#FFFFFF#000000##FFFFFF
##2A3F901.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a3f90;
/* rgb */ color: rgb(42, 63, 144);
/* oklch */ color: oklch(40.0% 0.136 268.6);
Tailwind
colors: {
  custom: {
    50: '#7173b1',
    500: '#2a3f90',
    950: '#000000',
  },
}
SCSS
$custom: #2a3f90;
$custom-light: #7173b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3f90",
  "rgb": {
    "r": 42,
    "g": 63,
    "b": 144
  },
  "hsl": {
    "h": 227.647,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40049,
    "c": 0.1362,
    "h": 268.6
  },
  "luminance": 0.06061
}

Semantic roles & 50–950 ramp

primary
#2A3F90
secondary
#B7A55E
accent
#C04ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A3F90

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

Preview Lab → · Contrast checker → · Palette generator →

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