#3038BD#3038BD

#3038BD is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.2% C 0.203 H 271.6°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#3038BD
RGBrgb(48, 56, 189)
HSLhsl(237, 59%, 46%)
HSVhsv(237, 75%, 74%)
CMYKcmyk(74.6%, 70.4%, 0%, 25.9%)
CIE-LABlab(32.10, 42.21, -70.22)
CIE-LCHlch(32.10, 81.93, 301.01°)
OKLaboklab(43.22% 0.0057 -0.2032)
OKLCHoklch(43.22% 0.203 271.6)
XYZxyz(11.8153, 7.1296, 48.8877)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3038BD #BDB530
analogous
#307FBD #3038BD #6F30BD
triadic
#3038BD #BD3038 #38BD30
tetradic
#3038BD #BD307F #BDB530 #30BD6F
square
#3038BD #BD307F #BDB530 #30BD6F
split-complementary
#3038BD #BD6F30 #7FBD30
monochromatic
#171B5B #242A8C #3038BD #565DD4 #878CE0

Accessibility & contrast

On white

8.66
#3038BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3038BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3038BD
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3038BD#FFFFFF#000000##FFFFFF
##3038BD1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0045BB
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3038bd;
/* rgb */ color: rgb(48, 56, 189);
/* oklch */ color: oklch(43.2% 0.203 271.6);
Tailwind
colors: {
  custom: {
    50: '#7e6fd2',
    500: '#3038bd',
    950: '#000000',
  },
}
SCSS
$custom: #3038bd;
$custom-light: #7e6fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#3038bd",
  "rgb": {
    "r": 48,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 236.596,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43215,
    "c": 0.20327,
    "h": 271.6
  },
  "luminance": 0.07131
}

Semantic roles & 50–950 ramp

primary
#3038BD
secondary
#CAC67F
accent
#DA45E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3038BD

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

Preview Lab → · Contrast checker → · Palette generator →

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