#3043AB#3043AB

#3043AB is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.4% C 0.167 H 270.0°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#3043AB
RGBrgb(48, 67, 171)
HSLhsl(231, 56%, 43%)
HSVhsv(231, 72%, 67%)
CMYKcmyk(71.9%, 60.8%, 0%, 32.9%)
CIE-LABlab(33.10, 28.85, -57.90)
CIE-LCHlch(33.10, 64.69, 296.49°)
OKLaboklab(43.45% 0 -0.1671)
OKLCHoklch(43.45% 0.167 270)
XYZxyz(10.5743, 7.5819, 39.4264)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3043AB #AB9830
analogous
#3080AB #3043AB #5B30AB
triadic
#3043AB #AB3043 #43AB30
tetradic
#3043AB #AB3080 #AB9830 #30AB5B
square
#3043AB #AB3080 #AB9830 #30AB5B
split-complementary
#3043AB #AB5B30 #80AB30
monochromatic
#151E4B #23307B #3043AB #4C60CD #7B8ADA

Accessibility & contrast

On white

8.34
#3043AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3043AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3043AB
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3043AB#FFFFFF#000000##FFFFFF
##3043AB1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3043ab;
/* rgb */ color: rgb(48, 67, 171);
/* oklch */ color: oklch(43.4% 0.167 270.0);
Tailwind
colors: {
  custom: {
    50: '#7977c5',
    500: '#3043ab',
    950: '#000000',
  },
}
SCSS
$custom: #3043ab;
$custom-light: #7977c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3043ab",
  "rgb": {
    "r": 48,
    "g": 67,
    "b": 171
  },
  "hsl": {
    "h": 230.732,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43447,
    "c": 0.1671,
    "h": 270
  },
  "luminance": 0.07583
}

Semantic roles & 50–950 ramp

primary
#3043AB
secondary
#C3B674
accent
#C848DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #3043AB

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

Preview Lab → · Contrast checker → · Palette generator →

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