#30499C#30499C

#30499C is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.4% C 0.138 H 267.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#30499C
RGBrgb(48, 73, 156)
HSLhsl(226, 53%, 40%)
HSVhsv(226, 69%, 61%)
CMYKcmyk(69.2%, 53.2%, 0%, 38.8%)
CIE-LABlab(33.55, 19.29, -48.16)
CIE-LCHlch(33.55, 51.88, 291.83°)
OKLaboklab(43.42% -0.0056 -0.1384)
OKLCHoklch(43.42% 0.138 267.7)
XYZxyz(9.6001, 7.7928, 32.4443)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30499C #9C8330
analogous
#307F9C #30499C #4D309C
triadic
#30499C #9C3049 #499C30
tetradic
#30499C #9C307F #9C8330 #309C4D
square
#30499C #9C307F #9C8330 #309C4D
split-complementary
#30499C #9C4D30 #7F9C30
monochromatic
#131D3E #22336D #30499C #4462C5 #7389D4

Accessibility & contrast

On white

8.21
#30499C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#30499C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30499C
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30499C#FFFFFF#000000##FFFFFF
##30499C1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13549F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#005D6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #30499c;
/* rgb */ color: rgb(48, 73, 156);
/* oklch */ color: oklch(43.4% 0.138 267.7);
Tailwind
colors: {
  custom: {
    50: '#767bba',
    500: '#30499c',
    950: '#000000',
  },
}
SCSS
$custom: #30499c;
$custom-light: #767bba;
$custom-dark: #000000;
JSON
{
  "hex": "#30499c",
  "rgb": {
    "r": 48,
    "g": 73,
    "b": 156
  },
  "hsl": {
    "h": 226.111,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.43422,
    "c": 0.13848,
    "h": 267.7
  },
  "luminance": 0.07794
}

Semantic roles & 50–950 ramp

primary
#30499C
secondary
#BCA96C
accent
#BB4BDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #30499C

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

Preview Lab → · Contrast checker → · Palette generator →

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