#30438C#30438C

#30438C is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.123 H 269.3°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#30438C
RGBrgb(48, 67, 140)
HSLhsl(228, 49%, 37%)
HSVhsv(228, 66%, 55%)
CMYKcmyk(65.7%, 52.1%, 0%, 45.1%)
CIE-LABlab(30.72, 17.34, -42.96)
CIE-LCHlch(30.72, 46.32, 291.98°)
OKLaboklab(40.92% -0.0014 -0.1231)
OKLCHoklch(40.92% 0.123 269.3)
XYZxyz(7.9581, 6.5354, 25.6479)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30438C #8C7930
analogous
#30718C #30438C #4B308C
triadic
#30438C #8C3043 #438C30
tetradic
#30438C #8C3071 #8C7930 #308C4B
square
#30438C #8C3071 #8C7930 #308C4B
split-complementary
#30438C #8C4B30 #718C30
monochromatic
#111731 #202D5E #30438C #4059BA #6A7FCC

Accessibility & contrast

On white

9.10
#30438C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#30438C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30438C
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30438C#FFFFFF#000000##FFFFFF
##30438C1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194D8F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #30438c;
/* rgb */ color: rgb(48, 67, 140);
/* oklch */ color: oklch(40.9% 0.123 269.3);
Tailwind
colors: {
  custom: {
    50: '#7376ae',
    500: '#30438c',
    950: '#000000',
  },
}
SCSS
$custom: #30438c;
$custom-light: #7376ae;
$custom-dark: #000000;
JSON
{
  "hex": "#30438c",
  "rgb": {
    "r": 48,
    "g": 67,
    "b": 140
  },
  "hsl": {
    "h": 227.609,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40922,
    "c": 0.12316,
    "h": 269.3
  },
  "luminance": 0.06536
}

Semantic roles & 50–950 ramp

primary
#30438C
secondary
#B3A364
accent
#BC4FD8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #30438C

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

Preview Lab → · Contrast checker → · Palette generator →

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