#2A37AF#2A37AF

#2A37AF is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.188 H 270.5°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#2A37AF
RGBrgb(42, 55, 175)
HSLhsl(234, 61%, 43%)
HSVhsv(234, 76%, 69%)
CMYKcmyk(76%, 68.6%, 0%, 31.4%)
CIE-LABlab(30.20, 37.34, -65.04)
CIE-LCHlch(30.20, 75.00, 299.86°)
OKLaboklab(41.35% 0.0015 -0.1882)
OKLCHoklch(41.35% 0.188 270.5)
XYZxyz(10.0563, 6.3187, 41.2388)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A37AF #AFA22A
analogous
#2A7AAF #2A37AF #5F2AAF
triadic
#2A37AF #AF2A37 #37AF2A
tetradic
#2A37AF #AF2A7A #AFA22A #2AAF5F
square
#2A37AF #AF2A7A #AFA22A #2AAF5F
split-complementary
#2A37AF #AF5F2A #7AAF2A
monochromatic
#12184C #1E277E #2A37AF #4452D2 #7580DE

Accessibility & contrast

On white

9.28
#2A37AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2A37AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A37AF
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A37AF#FFFFFF#000000##FFFFFF
##2A37AF1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a37af;
/* rgb */ color: rgb(42, 55, 175);
/* oklch */ color: oklch(41.3% 0.188 270.5);
Tailwind
colors: {
  custom: {
    50: '#796ec8',
    500: '#2a37af',
    950: '#000000',
  },
}
SCSS
$custom: #2a37af;
$custom-light: #796ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a37af",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 234.135,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41348,
    "c": 0.18824,
    "h": 270.5
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#2A37AF
secondary
#C6BD6F
accent
#D543E4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2A37AF

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

Preview Lab → · Contrast checker → · Palette generator →

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