#30438E#30438E

#30438E is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.126 H 269.4°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#30438E
RGBrgb(48, 67, 142)
HSLhsl(228, 49%, 37%)
HSVhsv(228, 66%, 56%)
CMYKcmyk(66.2%, 52.8%, 0%, 44.3%)
CIE-LABlab(30.87, 18.08, -43.96)
CIE-LCHlch(30.87, 47.53, 292.36°)
OKLaboklab(41.07% -0.0012 -0.1261)
OKLCHoklch(41.07% 0.126 269.4)
XYZxyz(8.1069, 6.5950, 26.4317)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30438E #8E7B30
analogous
#30728E #30438E #4C308E
triadic
#30438E #8E3043 #438E30
tetradic
#30438E #8E3072 #8E7B30 #308E4C
square
#30438E #8E3072 #8E7B30 #308E4C
split-complementary
#30438E #8E4C30 #728E30
monochromatic
#111833 #212D60 #30438E #3F59BC #6B7FCD

Accessibility & contrast

On white

9.05
#30438E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#30438E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30438E
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30438E#FFFFFF#000000##FFFFFF
##30438E1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164D91
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #30438e;
/* rgb */ color: rgb(48, 67, 142);
/* oklch */ color: oklch(41.1% 0.126 269.4);
Tailwind
colors: {
  custom: {
    50: '#7376b0',
    500: '#30438e',
    950: '#000000',
  },
}
SCSS
$custom: #30438e;
$custom-light: #7376b0;
$custom-dark: #000000;
JSON
{
  "hex": "#30438e",
  "rgb": {
    "r": 48,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 227.872,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41074,
    "c": 0.12611,
    "h": 269.4
  },
  "luminance": 0.06596
}

Semantic roles & 50–950 ramp

primary
#30438E
secondary
#B4A465
accent
#BD4FD9
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #30438E

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

Preview Lab → · Contrast checker → · Palette generator →

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