#30438F#30438F

#30438F is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.128 H 269.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#30438F
RGBrgb(48, 67, 143)
HSLhsl(228, 50%, 37%)
HSVhsv(228, 66%, 56%)
CMYKcmyk(66.4%, 53.1%, 0%, 43.9%)
CIE-LABlab(30.94, 18.46, -44.46)
CIE-LCHlch(30.94, 48.14, 292.55°)
OKLaboklab(41.15% -0.0011 -0.1276)
OKLCHoklch(41.15% 0.128 269.5)
XYZxyz(8.1823, 6.6251, 26.8288)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30438F #8F7C30
analogous
#30728F #30438F #4D308F
triadic
#30438F #8F3043 #438F30
tetradic
#30438F #8F3072 #8F7C30 #308F4D
square
#30438F #8F3072 #8F7C30 #308F4D
split-complementary
#30438F #8F4D30 #728F30
monochromatic
#111833 #212E61 #30438F #3F58BD #6C7FCE

Accessibility & contrast

On white

9.03
#30438F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#30438F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30438F
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30438F#FFFFFF#000000##FFFFFF
##30438F1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154D92
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #30438f;
/* rgb */ color: rgb(48, 67, 143);
/* oklch */ color: oklch(41.2% 0.128 269.5);
Tailwind
colors: {
  custom: {
    50: '#7376b0',
    500: '#30438f',
    950: '#000000',
  },
}
SCSS
$custom: #30438f;
$custom-light: #7376b0;
$custom-dark: #000000;
JSON
{
  "hex": "#30438f",
  "rgb": {
    "r": 48,
    "g": 67,
    "b": 143
  },
  "hsl": {
    "h": 228,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41151,
    "c": 0.12757,
    "h": 269.5
  },
  "luminance": 0.06626
}

Semantic roles & 50–950 ramp

primary
#30438F
secondary
#B5A566
accent
#BE4FD9
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #30438F

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

Preview Lab → · Contrast checker → · Palette generator →

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