#30538C#30538C

#30538C is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.5% C 0.103 H 259.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#30538C
RGBrgb(48, 83, 140)
HSLhsl(217, 49%, 37%)
HSVhsv(217, 66%, 55%)
CMYKcmyk(65.7%, 40.7%, 0%, 45.1%)
CIE-LABlab(35.41, 6.65, -35.45)
CIE-LCHlch(35.41, 36.07, 280.63°)
OKLaboklab(44.52% -0.0184 -0.1009)
OKLCHoklch(44.52% 0.103 259.7)
XYZxyz(9.0441, 8.7075, 26.0099)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30538C #8C6930
analogous
#30818C #30538C #3B308C
triadic
#30538C #8C3053 #538C30
tetradic
#30538C #8C3081 #8C6930 #308C3B
square
#30538C #8C3081 #8C6930 #308C3B
split-complementary
#30538C #8C3B30 #818C30
monochromatic
#111D31 #20385E #30538C #406EBA #6A90CC

Accessibility & contrast

On white

7.66
#30538C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#30538C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30538C
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30538C#FFFFFF#000000##FFFFFF
##30538C1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A588E
Deuteranopia (green-blind)
#2C4F8B
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #30538c;
/* rgb */ color: rgb(48, 83, 140);
/* oklch */ color: oklch(44.5% 0.103 259.7);
Tailwind
colors: {
  custom: {
    50: '#7283ae',
    500: '#30538c',
    950: '#000000',
  },
}
SCSS
$custom: #30538c;
$custom-light: #7283ae;
$custom-dark: #000000;
JSON
{
  "hex": "#30538c",
  "rgb": {
    "r": 48,
    "g": 83,
    "b": 140
  },
  "hsl": {
    "h": 217.174,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44519,
    "c": 0.10252,
    "h": 259.7
  },
  "luminance": 0.08708
}

Semantic roles & 50–950 ramp

primary
#30538C
secondary
#B39564
accent
#A44FD8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #30538C

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

Preview Lab → · Contrast checker → · Palette generator →

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