#30438B#30438B

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

Color values

HEX#30438B
RGBrgb(48, 67, 139)
HSLhsl(227, 49%, 37%)
HSVhsv(227, 65%, 55%)
CMYKcmyk(65.5%, 51.8%, 0%, 45.5%)
CIE-LABlab(30.66, 16.97, -42.45)
CIE-LCHlch(30.66, 45.72, 291.78°)
OKLaboklab(40.85% -0.0015 -0.1217)
OKLCHoklch(40.85% 0.122 269.3)
XYZxyz(7.8847, 6.5061, 25.2614)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30438B #8B7830
analogous
#30718B #30438B #4B308B
triadic
#30438B #8B3043 #438B30
tetradic
#30438B #8B3071 #8B7830 #308B4B
square
#30438B #8B3071 #8B7830 #308B4B
split-complementary
#30438B #8B4B30 #718B30
monochromatic
#111730 #202D5E #30438B #4059B8 #6A7ECC

Accessibility & contrast

On white

9.12
#30438B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30438B
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30438B#FFFFFF#000000##FFFFFF
##30438B1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4C8E
Deuteranopia (green-blind)
#01448A
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #30438b;
/* rgb */ color: rgb(48, 67, 139);
/* oklch */ color: oklch(40.8% 0.122 269.3);
Tailwind
colors: {
  custom: {
    50: '#7276ad',
    500: '#30438b',
    950: '#000000',
  },
}
SCSS
$custom: #30438b;
$custom-light: #7276ad;
$custom-dark: #000000;
JSON
{
  "hex": "#30438b",
  "rgb": {
    "r": 48,
    "g": 67,
    "b": 139
  },
  "hsl": {
    "h": 227.473,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40847,
    "c": 0.12168,
    "h": 269.3
  },
  "luminance": 0.06507
}

Semantic roles & 50–950 ramp

primary
#30438B
secondary
#B3A264
accent
#BC50D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #30438B

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

Preview Lab → · Contrast checker → · Palette generator →

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