#30437E#30437E

#30437E is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.9% C 0.102 H 268.1°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#30437E
RGBrgb(48, 67, 126)
HSLhsl(225, 45%, 34%)
HSVhsv(225, 62%, 49%)
CMYKcmyk(61.9%, 46.8%, 0%, 50.6%)
CIE-LABlab(29.78, 12.15, -35.79)
CIE-LCHlch(29.78, 37.79, 288.74°)
OKLaboklab(39.9% -0.0033 -0.1021)
OKLCHoklch(39.9% 0.102 268.1)
XYZxyz(6.9907, 6.1485, 20.5530)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30437E #7E6B30
analogous
#306A7E #30437E #44307E
triadic
#30437E #7E3043 #437E30
tetradic
#30437E #7E306A #7E6B30 #307E44
square
#30437E #7E306A #7E6B30 #307E44
split-complementary
#30437E #7E4430 #6A7E30
monochromatic
#0E1425 #1F2B52 #30437E #415BAA #647CC4

Accessibility & contrast

On white

9.42
#30437E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#30437E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30437E
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30437E#FFFFFF#000000##FFFFFF
##30437E1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284A80
Deuteranopia (green-blind)
#1C437D
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #30437e;
/* rgb */ color: rgb(48, 67, 126);
/* oklch */ color: oklch(39.9% 0.102 268.1);
Tailwind
colors: {
  custom: {
    50: '#7076a4',
    500: '#30437e',
    950: '#000000',
  },
}
SCSS
$custom: #30437e;
$custom-light: #7076a4;
$custom-dark: #000000;
JSON
{
  "hex": "#30437e",
  "rgb": {
    "r": 48,
    "g": 67,
    "b": 126
  },
  "hsl": {
    "h": 225.385,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39903,
    "c": 0.10213,
    "h": 268.1
  },
  "luminance": 0.06149
}

Semantic roles & 50–950 ramp

primary
#30437E
secondary
#AB995F
accent
#B553D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #30437E

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

Preview Lab → · Contrast checker → · Palette generator →

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