#3037BA#3037BA

#3037BA is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 42.8% C 0.201 H 271.9°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#3037BA
RGBrgb(48, 55, 186)
HSLhsl(237, 59%, 46%)
HSVhsv(237, 74%, 73%)
CMYKcmyk(74.2%, 70.4%, 0%, 27.1%)
CIE-LABlab(31.59, 41.78, -69.29)
CIE-LCHlch(31.59, 80.91, 301.09°)
OKLaboklab(42.76% 0.0066 -0.2005)
OKLCHoklch(42.76% 0.201 271.9)
XYZxyz(11.4450, 6.9047, 47.1744)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3037BA #BAB330
analogous
#307CBA #3037BA #6E30BA
triadic
#3037BA #BA3037 #37BA30
tetradic
#3037BA #BA307C #BAB330 #30BA6E
square
#3037BA #BA307C #BAB330 #30BA6E
split-complementary
#3037BA #BA6E30 #7CBA30
monochromatic
#171A59 #232989 #3037BA #545BD3 #858ADF

Accessibility & contrast

On white

8.82
#3037BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3037BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3037BA
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3037BA#FFFFFF#000000##FFFFFF
##3037BA1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BE
Deuteranopia (green-blind)
#0044B8
Tritanopia (blue-blind)
#005B74
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3037ba;
/* rgb */ color: rgb(48, 55, 186);
/* oklch */ color: oklch(42.8% 0.201 271.9);
Tailwind
colors: {
  custom: {
    50: '#7e6fd0',
    500: '#3037ba',
    950: '#000000',
  },
}
SCSS
$custom: #3037ba;
$custom-light: #7e6fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3037ba",
  "rgb": {
    "r": 48,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 236.957,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42759,
    "c": 0.20059,
    "h": 271.9
  },
  "luminance": 0.06906
}

Semantic roles & 50–950 ramp

primary
#3037BA
secondary
#C9C57D
accent
#DA46E2
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3037BA

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

Preview Lab → · Contrast checker → · Palette generator →

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