#30538E#30538E

#30538E is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.6% C 0.105 H 260.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#30538E
RGBrgb(48, 83, 142)
HSLhsl(218, 49%, 37%)
HSVhsv(218, 66%, 56%)
CMYKcmyk(66.2%, 41.5%, 0%, 44.3%)
CIE-LABlab(35.53, 7.39, -36.48)
CIE-LCHlch(35.53, 37.22, 281.46°)
OKLaboklab(44.65% -0.0179 -0.1039)
OKLCHoklch(44.65% 0.105 260.2)
XYZxyz(9.1929, 8.7670, 26.7937)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30538E #8E6B30
analogous
#30828E #30538E #3C308E
triadic
#30538E #8E3053 #538E30
tetradic
#30538E #8E3082 #8E6B30 #308E3C
square
#30538E #8E3082 #8E6B30 #308E3C
split-complementary
#30538E #8E3C30 #828E30
monochromatic
#111E33 #213860 #30538E #3F6EBC #6B90CD

Accessibility & contrast

On white

7.63
#30538E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#30538E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30538E
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30538E#FFFFFF#000000##FFFFFF
##30538E1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385890
Deuteranopia (green-blind)
#2A508D
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #30538e;
/* rgb */ color: rgb(48, 83, 142);
/* oklch */ color: oklch(44.6% 0.105 260.2);
Tailwind
colors: {
  custom: {
    50: '#7283af',
    500: '#30538e',
    950: '#000000',
  },
}
SCSS
$custom: #30538e;
$custom-light: #7283af;
$custom-dark: #000000;
JSON
{
  "hex": "#30538e",
  "rgb": {
    "r": 48,
    "g": 83,
    "b": 142
  },
  "hsl": {
    "h": 217.66,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44647,
    "c": 0.10542,
    "h": 260.2
  },
  "luminance": 0.08768
}

Semantic roles & 50–950 ramp

primary
#30538E
secondary
#B49765
accent
#A64FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #30538E

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

Preview Lab → · Contrast checker → · Palette generator →

#30538E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva