#3038BE#3038BE

#3038BE is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.3% C 0.205 H 271.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#3038BE
RGBrgb(48, 56, 190)
HSLhsl(237, 60%, 47%)
HSVhsv(237, 75%, 75%)
CMYKcmyk(74.7%, 70.5%, 0%, 25.5%)
CIE-LABlab(32.20, 42.55, -70.64)
CIE-LCHlch(32.20, 82.47, 301.06°)
OKLaboklab(43.31% 0.0056 -0.2044)
OKLCHoklch(43.31% 0.205 271.6)
XYZxyz(11.9242, 7.1732, 49.4613)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3038BE #BEB630
analogous
#307FBE #3038BE #6F30BE
triadic
#3038BE #BE3038 #38BE30
tetradic
#3038BE #BE307F #BEB630 #30BE6F
square
#3038BE #BE307F #BEB630 #30BE6F
split-complementary
#3038BE #BE6F30 #7FBE30
monochromatic
#171B5C #242A8D #3038BE #575ED4 #888DE1

Accessibility & contrast

On white

8.62
#3038BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3038BE
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3038BE#FFFFFF#000000##FFFFFF
##3038BE1.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C2
Deuteranopia (green-blind)
#0045BC
Tritanopia (blue-blind)
#005D77
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3038be;
/* rgb */ color: rgb(48, 56, 190);
/* oklch */ color: oklch(43.3% 0.205 271.6);
Tailwind
colors: {
  custom: {
    50: '#7f6fd3',
    500: '#3038be',
    950: '#000000',
  },
}
SCSS
$custom: #3038be;
$custom-light: #7f6fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3038be",
  "rgb": {
    "r": 48,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 236.62,
    "s": 59.664,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43314,
    "c": 0.20452,
    "h": 271.6
  },
  "luminance": 0.07174
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3038BE

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

Preview Lab → · Contrast checker → · Palette generator →

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