#3039BA#3039BA

#3039BA is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.1% C 0.198 H 271.6°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#3039BA
RGBrgb(48, 57, 186)
HSLhsl(236, 59%, 46%)
HSVhsv(236, 74%, 73%)
CMYKcmyk(74.2%, 69.4%, 0%, 27.1%)
CIE-LABlab(32.03, 40.57, -68.56)
CIE-LCHlch(32.03, 79.67, 300.62°)
OKLaboklab(43.08% 0.0055 -0.1984)
OKLCHoklch(43.08% 0.198 271.6)
XYZxyz(11.5420, 7.0986, 47.2067)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3039BA #BAB130
analogous
#307EBA #3039BA #6C30BA
triadic
#3039BA #BA3039 #39BA30
tetradic
#3039BA #BA307E #BAB130 #30BA6C
square
#3039BA #BA307E #BAB130 #30BA6C
split-complementary
#3039BA #BA6C30 #7EBA30
monochromatic
#171B59 #232A89 #3039BA #545DD3 #858BDF

Accessibility & contrast

On white

8.68
#3039BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3039BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3039BA
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3039BA#FFFFFF#000000##FFFFFF
##3039BA1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BE
Deuteranopia (green-blind)
#0045B8
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3039ba;
/* rgb */ color: rgb(48, 57, 186);
/* oklch */ color: oklch(43.1% 0.198 271.6);
Tailwind
colors: {
  custom: {
    50: '#7e70d0',
    500: '#3039ba',
    950: '#000000',
  },
}
SCSS
$custom: #3039ba;
$custom-light: #7e70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3039ba",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 236.087,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43077,
    "c": 0.19844,
    "h": 271.6
  },
  "luminance": 0.071
}

Semantic roles & 50–950 ramp

primary
#3039BA
secondary
#C9C47D
accent
#D846E2
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3039BA

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

Preview Lab → · Contrast checker → · Palette generator →

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