#3043A4#3043A4

#3043A4 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.8% C 0.157 H 270.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#3043A4
RGBrgb(48, 67, 164)
HSLhsl(230, 55%, 42%)
HSVhsv(230, 71%, 64%)
CMYKcmyk(70.7%, 59.1%, 0%, 35.7%)
CIE-LABlab(32.53, 26.27, -54.63)
CIE-LCHlch(32.53, 60.62, 295.68°)
OKLaboklab(42.85% 0 -0.1575)
OKLCHoklch(42.85% 0.157 270)
XYZxyz(9.9246, 7.3220, 36.0050)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3043A4 #A49130
analogous
#307DA4 #3043A4 #5730A4
triadic
#3043A4 #A43043 #43A430
tetradic
#3043A4 #A4307D #A49130 #30A457
square
#3043A4 #A4307D #A49130 #30A457
split-complementary
#3043A4 #A45730 #7DA430
monochromatic
#141C45 #223075 #3043A4 #485DC9 #7787D7

Accessibility & contrast

On white

8.52
#3043A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3043A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3043A4
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3043A4#FFFFFF#000000##FFFFFF
##3043A41.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#0047A2
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3043a4;
/* rgb */ color: rgb(48, 67, 164);
/* oklch */ color: oklch(42.8% 0.157 270.0);
Tailwind
colors: {
  custom: {
    50: '#7876c0',
    500: '#3043a4',
    950: '#000000',
  },
}
SCSS
$custom: #3043a4;
$custom-light: #7876c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3043a4",
  "rgb": {
    "r": 48,
    "g": 67,
    "b": 164
  },
  "hsl": {
    "h": 230.172,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42848,
    "c": 0.15749,
    "h": 270
  },
  "luminance": 0.07323
}

Semantic roles & 50–950 ramp

primary
#3043A4
secondary
#BFB270
accent
#C64ADE
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3043A4

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

Preview Lab → · Contrast checker → · Palette generator →

#3043A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva