#30538D#30538D

#30538D is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.6% C 0.104 H 260.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#30538D
RGBrgb(48, 83, 141)
HSLhsl(217, 49%, 37%)
HSVhsv(217, 66%, 55%)
CMYKcmyk(66%, 41.1%, 0%, 44.7%)
CIE-LABlab(35.47, 7.02, -35.97)
CIE-LCHlch(35.47, 36.65, 281.05°)
OKLaboklab(44.58% -0.0181 -0.1024)
OKLCHoklch(44.58% 0.104 260)
XYZxyz(9.1182, 8.7371, 26.4000)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30538D #8D6A30
analogous
#30828D #30538D #3B308D
triadic
#30538D #8D3053 #538D30
tetradic
#30538D #8D3082 #8D6A30 #308D3B
square
#30538D #8D3082 #8D6A30 #308D3B
split-complementary
#30538D #8D3B30 #828D30
monochromatic
#111D32 #20385F #30538D #406EBB #6B90CD

Accessibility & contrast

On white

7.64
#30538D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30538D
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30538D#FFFFFF#000000##FFFFFF
##30538D1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39588F
Deuteranopia (green-blind)
#2B4F8C
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #30538d;
/* rgb */ color: rgb(48, 83, 141);
/* oklch */ color: oklch(44.6% 0.104 260.0);
Tailwind
colors: {
  custom: {
    50: '#7283af',
    500: '#30538d',
    950: '#000000',
  },
}
SCSS
$custom: #30538d;
$custom-light: #7283af;
$custom-dark: #000000;
JSON
{
  "hex": "#30538d",
  "rgb": {
    "r": 48,
    "g": 83,
    "b": 141
  },
  "hsl": {
    "h": 217.419,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44583,
    "c": 0.10397,
    "h": 260
  },
  "luminance": 0.08738
}

Semantic roles & 50–950 ramp

primary
#30538D
secondary
#B49665
accent
#A54FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #30538D

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

Preview Lab → · Contrast checker → · Palette generator →

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