#30296E#30296E

#30296E is a dark, moderate blue. Relative luminance 0.033; OKLCH L 33.2% C 0.115 H 282.7°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#30296E
RGBrgb(48, 41, 110)
HSLhsl(246, 46%, 30%)
HSVhsv(246, 63%, 43%)
CMYKcmyk(56.4%, 62.7%, 0%, 56.9%)
CIE-LABlab(21.36, 24.12, -39.20)
CIE-LCHlch(21.36, 46.03, 301.60°)
OKLaboklab(33.2% 0.0254 -0.1124)
OKLCHoklch(33.2% 0.115 282.7)
XYZxyz(4.8255, 3.3398, 15.1392)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30296E #676E29
analogous
#29456E #30296E #53296E
triadic
#30296E #6E3029 #296E30
tetradic
#30296E #6E2945 #676E29 #296E53
square
#30296E #6E2945 #676E29 #296E53
split-complementary
#30296E #6E5329 #456E29
monochromatic
#0A0816 #1D1841 #30296E #433A9B #5E53BF

Accessibility & contrast

On white

12.59
#30296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#30296E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30296E
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30296E#FFFFFF#000000##FFFFFF
##30296E1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#153947
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #30296e;
/* rgb */ color: rgb(48, 41, 110);
/* oklch */ color: oklch(33.2% 0.115 282.7);
Tailwind
colors: {
  custom: {
    50: '#6f6398',
    500: '#30296e',
    950: '#000000',
  },
}
SCSS
$custom: #30296e;
$custom-light: #6f6398;
$custom-dark: #000000;
JSON
{
  "hex": "#30296e",
  "rgb": {
    "r": 48,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 246.087,
    "s": 45.695,
    "l": 29.608
  },
  "oklch": {
    "l": 0.332,
    "c": 0.11521,
    "h": 282.7
  },
  "luminance": 0.0334
}

Semantic roles & 50–950 ramp

primary
#30296E
secondary
#98A053
accent
#D552C8
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #30296E

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

Preview Lab → · Contrast checker → · Palette generator →

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