#3038AD#3038AD

#3038AD is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.6% C 0.183 H 272.4°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#3038AD
RGBrgb(48, 56, 173)
HSLhsl(236, 57%, 43%)
HSVhsv(236, 72%, 68%)
CMYKcmyk(72.3%, 67.6%, 0%, 32.2%)
CIE-LABlab(30.58, 36.64, -63.22)
CIE-LCHlch(30.58, 73.08, 300.10°)
OKLaboklab(41.65% 0.0075 -0.1828)
OKLCHoklch(41.65% 0.183 272.4)
XYZxyz(10.1734, 6.4728, 40.2403)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3038AD #ADA530
analogous
#3076AD #3038AD #6630AD
triadic
#3038AD #AD3038 #38AD30
tetradic
#3038AD #AD3076 #ADA530 #30AD66
square
#3038AD #AD3076 #ADA530 #30AD66
split-complementary
#3038AD #AD6630 #76AD30
monochromatic
#15194D #23287D #3038AD #4D55CE #7D83DB

Accessibility & contrast

On white

9.15
#3038AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3038AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3038AD
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3038AD#FFFFFF#000000##FFFFFF
##3038AD1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#0042AB
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3038ad;
/* rgb */ color: rgb(48, 56, 173);
/* oklch */ color: oklch(41.6% 0.183 272.4);
Tailwind
colors: {
  custom: {
    50: '#7b6fc7',
    500: '#3038ad',
    950: '#000000',
  },
}
SCSS
$custom: #3038ad;
$custom-light: #7b6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3038ad",
  "rgb": {
    "r": 48,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 236.16,
    "s": 56.561,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4165,
    "c": 0.18293,
    "h": 272.4
  },
  "luminance": 0.06474
}

Semantic roles & 50–950 ramp

primary
#3038AD
secondary
#C3BE75
accent
#D648E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3038AD

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

Preview Lab → · Contrast checker → · Palette generator →

#3038AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva