#3038BF#3038BF

#3038BF is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.4% C 0.206 H 271.5°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#3038BF
RGBrgb(48, 56, 191)
HSLhsl(237, 60%, 47%)
HSVhsv(237, 75%, 75%)
CMYKcmyk(74.9%, 70.7%, 0%, 25.1%)
CIE-LABlab(32.30, 42.90, -71.07)
CIE-LCHlch(32.30, 83.01, 301.11°)
OKLaboklab(43.41% 0.0055 -0.2057)
OKLCHoklch(43.41% 0.206 271.5)
XYZxyz(12.0339, 7.2170, 50.0389)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3038BF #BFB730
analogous
#3080BF #3038BF #6F30BF
triadic
#3038BF #BF3038 #38BF30
tetradic
#3038BF #BF3080 #BFB730 #30BF6F
square
#3038BF #BF3080 #BFB730 #30BF6F
split-complementary
#3038BF #BF6F30 #80BF30
monochromatic
#171B5D #242A8E #3038BF #575ED5 #888DE1

Accessibility & contrast

On white

8.59
#3038BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3038BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3038BF
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3038BF#FFFFFF#000000##FFFFFF
##3038BF1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#0045BD
Tritanopia (blue-blind)
#005E77
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3038bf;
/* rgb */ color: rgb(48, 56, 191);
/* oklch */ color: oklch(43.4% 0.206 271.5);
Tailwind
colors: {
  custom: {
    50: '#7f6fd4',
    500: '#3038bf',
    950: '#000000',
  },
}
SCSS
$custom: #3038bf;
$custom-light: #7f6fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3038bf",
  "rgb": {
    "r": 48,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 236.643,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43414,
    "c": 0.20576,
    "h": 271.5
  },
  "luminance": 0.07218
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3038BF

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

Preview Lab → · Contrast checker → · Palette generator →

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