#3037BB#3037BB

#3037BB is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 42.9% C 0.202 H 271.8°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#3037BB
RGBrgb(48, 55, 187)
HSLhsl(237, 59%, 46%)
HSVhsv(237, 74%, 73%)
CMYKcmyk(74.3%, 70.6%, 0%, 26.7%)
CIE-LABlab(31.69, 42.12, -69.72)
CIE-LCHlch(31.69, 81.45, 301.14°)
OKLaboklab(42.86% 0.0065 -0.2017)
OKLCHoklch(42.86% 0.202 271.8)
XYZxyz(11.5517, 6.9474, 47.7363)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3037BB #BBB430
analogous
#307CBB #3037BB #6E30BB
triadic
#3037BB #BB3037 #37BB30
tetradic
#3037BB #BB307C #BBB430 #30BB6E
square
#3037BB #BB307C #BBB430 #30BB6E
split-complementary
#3037BB #BB6E30 #7CBB30
monochromatic
#171A5A #23298A #3037BB #555BD3 #868AE0

Accessibility & contrast

On white

8.79
#3037BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3037BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3037BB
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3037BB#FFFFFF#000000##FFFFFF
##3037BB1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BF
Deuteranopia (green-blind)
#0044B9
Tritanopia (blue-blind)
#005C75
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3037bb;
/* rgb */ color: rgb(48, 55, 187);
/* oklch */ color: oklch(42.9% 0.202 271.8);
Tailwind
colors: {
  custom: {
    50: '#7e6fd1',
    500: '#3037bb',
    950: '#000000',
  },
}
SCSS
$custom: #3037bb;
$custom-light: #7e6fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3037bb",
  "rgb": {
    "r": 48,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 236.978,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42858,
    "c": 0.20184,
    "h": 271.8
  },
  "luminance": 0.06949
}

Semantic roles & 50–950 ramp

primary
#3037BB
secondary
#C9C67D
accent
#DA45E2
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3037BB

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

Preview Lab → · Contrast checker → · Palette generator →

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