#2A37B3#2A37B3

#2A37B3 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.193 H 270.3°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#2A37B3
RGBrgb(42, 55, 179)
HSLhsl(234, 62%, 43%)
HSVhsv(234, 77%, 70%)
CMYKcmyk(76.5%, 69.3%, 0%, 29.8%)
CIE-LABlab(30.59, 38.76, -66.79)
CIE-LCHlch(30.59, 77.23, 300.13°)
OKLaboklab(41.74% 0.0011 -0.1933)
OKLCHoklch(41.74% 0.193 270.3)
XYZxyz(10.4549, 6.4781, 43.3385)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A37B3 #B3A62A
analogous
#2A7BB3 #2A37B3 #622AB3
triadic
#2A37B3 #B32A37 #37B32A
tetradic
#2A37B3 #B32A7B #B3A62A #2AB362
square
#2A37B3 #B32A7B #B3A62A #2AB362
split-complementary
#2A37B3 #B3622A #7BB32A
monochromatic
#131950 #1E2881 #2A37B3 #4654D4 #7882DF

Accessibility & contrast

On white

9.15
#2A37B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2A37B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A37B3
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A37B3#FFFFFF#000000##FFFFFF
##2A37B31.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0041B1
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a37b3;
/* rgb */ color: rgb(42, 55, 179);
/* oklch */ color: oklch(41.7% 0.193 270.3);
Tailwind
colors: {
  custom: {
    50: '#7a6ecb',
    500: '#2a37b3',
    950: '#000000',
  },
}
SCSS
$custom: #2a37b3;
$custom-light: #7a6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a37b3",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 179
  },
  "hsl": {
    "h": 234.307,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41744,
    "c": 0.19334,
    "h": 270.3
  },
  "luminance": 0.06479
}

Semantic roles & 50–950 ramp

primary
#2A37B3
secondary
#C7BF72
accent
#D643E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2A37B3

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

Preview Lab → · Contrast checker → · Palette generator →

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