#3039B5#3039B5

#3039B5 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.6% C 0.192 H 271.8°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#3039B5
RGBrgb(48, 57, 181)
HSLhsl(236, 58%, 45%)
HSVhsv(236, 73%, 71%)
CMYKcmyk(73.5%, 68.5%, 0%, 29%)
CIE-LABlab(31.55, 38.83, -66.38)
CIE-LCHlch(31.55, 76.91, 300.33°)
OKLaboklab(42.59% 0.0061 -0.192)
OKLCHoklch(42.59% 0.192 271.8)
XYZxyz(11.0197, 6.8897, 44.4562)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3039B5 #B5AC30
analogous
#307BB5 #3039B5 #6A30B5
triadic
#3039B5 #B53039 #39B530
tetradic
#3039B5 #B5307B #B5AC30 #30B56A
square
#3039B5 #B5307B #B5AC30 #30B56A
split-complementary
#3039B5 #B56A30 #7BB530
monochromatic
#161B54 #232A85 #3039B5 #515AD1 #8288DE

Accessibility & contrast

On white

8.83
#3039B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3039B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3039B5
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3039B5#FFFFFF#000000##FFFFFF
##3039B51.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0044B3
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3039b5;
/* rgb */ color: rgb(48, 57, 181);
/* oklch */ color: oklch(42.6% 0.192 271.8);
Tailwind
colors: {
  custom: {
    50: '#7c70cc',
    500: '#3039b5',
    950: '#000000',
  },
}
SCSS
$custom: #3039b5;
$custom-light: #7c70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3039b5",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 235.94,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42588,
    "c": 0.1921,
    "h": 271.8
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#3039B5
secondary
#C7C27A
accent
#D746E1
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3039B5

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

Preview Lab → · Contrast checker → · Palette generator →

#3039B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva