#3037AE#3037AE

#3037AE is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.6% C 0.185 H 272.5°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#3037AE
RGBrgb(48, 55, 174)
HSLhsl(237, 57%, 44%)
HSVhsv(237, 72%, 68%)
CMYKcmyk(72.4%, 68.4%, 0%, 31.8%)
CIE-LABlab(30.44, 37.62, -64.05)
CIE-LCHlch(30.44, 74.28, 300.43°)
OKLaboklab(41.58% 0.0081 -0.1852)
OKLCHoklch(41.58% 0.185 272.5)
XYZxyz(10.2225, 6.4157, 40.7358)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3037AE #AEA730
analogous
#3076AE #3037AE #6830AE
triadic
#3037AE #AE3037 #37AE30
tetradic
#3037AE #AE3076 #AEA730 #30AE68
square
#3037AE #AE3076 #AEA730 #30AE68
split-complementary
#3037AE #AE6830 #76AE30
monochromatic
#16194E #23287E #3037AE #4D54CE #7D82DB

Accessibility & contrast

On white

9.20
#3037AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3037AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3037AE
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3037AE#FFFFFF#000000##FFFFFF
##3037AE1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3037ae;
/* rgb */ color: rgb(48, 55, 174);
/* oklch */ color: oklch(41.6% 0.185 272.5);
Tailwind
colors: {
  custom: {
    50: '#7b6ec7',
    500: '#3037ae',
    950: '#000000',
  },
}
SCSS
$custom: #3037ae;
$custom-light: #7b6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#3037ae",
  "rgb": {
    "r": 48,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 236.667,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41579,
    "c": 0.18536,
    "h": 272.5
  },
  "luminance": 0.06417
}

Semantic roles & 50–950 ramp

primary
#3037AE
secondary
#C4C076
accent
#D848E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3037AE

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

Preview Lab → · Contrast checker → · Palette generator →

#3037AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva