#30438A#30438A

#30438A is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.120 H 269.2°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#30438A
RGBrgb(48, 67, 138)
HSLhsl(227, 48%, 36%)
HSVhsv(227, 65%, 54%)
CMYKcmyk(65.2%, 51.4%, 0%, 45.9%)
CIE-LABlab(30.59, 16.59, -41.95)
CIE-LCHlch(30.59, 45.11, 291.58°)
OKLaboklab(40.77% -0.0016 -0.1202)
OKLCHoklch(40.77% 0.12 269.2)
XYZxyz(7.8120, 6.4770, 24.8783)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30438A #8A7730
analogous
#30708A #30438A #4A308A
triadic
#30438A #8A3043 #438A30
tetradic
#30438A #8A3070 #8A7730 #308A4A
square
#30438A #8A3070 #8A7730 #308A4A
split-complementary
#30438A #8A4A30 #708A30
monochromatic
#10172F #202D5D #30438A #4059B7 #697ECB

Accessibility & contrast

On white

9.15
#30438A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#30438A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30438A
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30438A#FFFFFF#000000##FFFFFF
##30438A1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4C8D
Deuteranopia (green-blind)
#044489
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #30438a;
/* rgb */ color: rgb(48, 67, 138);
/* oklch */ color: oklch(40.8% 0.120 269.2);
Tailwind
colors: {
  custom: {
    50: '#7276ad',
    500: '#30438a',
    950: '#000000',
  },
}
SCSS
$custom: #30438a;
$custom-light: #7276ad;
$custom-dark: #000000;
JSON
{
  "hex": "#30438a",
  "rgb": {
    "r": 48,
    "g": 67,
    "b": 138
  },
  "hsl": {
    "h": 227.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40772,
    "c": 0.1202,
    "h": 269.2
  },
  "luminance": 0.06478
}

Semantic roles & 50–950 ramp

primary
#30438A
secondary
#B2A264
accent
#BB50D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #30438A

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

Preview Lab → · Contrast checker → · Palette generator →

#30438A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva