#3037AF#3037AF

#3037AF is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.187 H 272.4°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#3037AF
RGBrgb(48, 55, 175)
HSLhsl(237, 57%, 44%)
HSVhsv(237, 73%, 69%)
CMYKcmyk(72.6%, 68.6%, 0%, 31.4%)
CIE-LABlab(30.53, 37.97, -64.49)
CIE-LCHlch(30.53, 74.84, 300.49°)
OKLaboklab(41.68% 0.008 -0.1865)
OKLCHoklch(41.68% 0.187 272.4)
XYZxyz(10.3204, 6.4549, 41.2511)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3037AF #AFA830
analogous
#3076AF #3037AF #6830AF
triadic
#3037AF #AF3037 #37AF30
tetradic
#3037AF #AF3076 #AFA830 #30AF68
square
#3037AF #AF3076 #AFA830 #30AF68
split-complementary
#3037AF #AF6830 #76AF30
monochromatic
#16194F #23287F #3037AF #4E55CE #7E83DC

Accessibility & contrast

On white

9.17
#3037AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3037AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3037AF
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3037AF#FFFFFF#000000##FFFFFF
##3037AF1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3037af;
/* rgb */ color: rgb(48, 55, 175);
/* oklch */ color: oklch(41.7% 0.187 272.4);
Tailwind
colors: {
  custom: {
    50: '#7b6ec8',
    500: '#3037af',
    950: '#000000',
  },
}
SCSS
$custom: #3037af;
$custom-light: #7b6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#3037af",
  "rgb": {
    "r": 48,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 236.693,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41676,
    "c": 0.18665,
    "h": 272.4
  },
  "luminance": 0.06456
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3037AF

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

Preview Lab → · Contrast checker → · Palette generator →

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