#3041AB#3041AB

#3041AB is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.1% C 0.170 H 270.5°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#3041AB
RGBrgb(48, 65, 171)
HSLhsl(232, 56%, 43%)
HSVhsv(232, 72%, 67%)
CMYKcmyk(71.9%, 62%, 0%, 32.9%)
CIE-LABlab(32.59, 30.16, -58.73)
CIE-LCHlch(32.59, 66.03, 297.18°)
OKLaboklab(43.07% 0.0015 -0.1696)
OKLCHoklch(43.07% 0.17 270.5)
XYZxyz(10.4574, 7.3482, 39.3874)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3041AB #AB9A30
analogous
#307FAB #3041AB #5C30AB
triadic
#3041AB #AB3041 #41AB30
tetradic
#3041AB #AB307F #AB9A30 #30AB5C
square
#3041AB #AB307F #AB9A30 #30AB5C
split-complementary
#3041AB #AB5C30 #7FAB30
monochromatic
#151D4B #232F7B #3041AB #4C5DCD #7B88DA

Accessibility & contrast

On white

8.50
#3041AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3041AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3041AB
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3041AB#FFFFFF#000000##FFFFFF
##3041AB1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#0047A9
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3041ab;
/* rgb */ color: rgb(48, 65, 171);
/* oklch */ color: oklch(43.1% 0.170 270.5);
Tailwind
colors: {
  custom: {
    50: '#7975c5',
    500: '#3041ab',
    950: '#000000',
  },
}
SCSS
$custom: #3041ab;
$custom-light: #7975c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3041ab",
  "rgb": {
    "r": 48,
    "g": 65,
    "b": 171
  },
  "hsl": {
    "h": 231.707,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4307,
    "c": 0.16957,
    "h": 270.5
  },
  "luminance": 0.07349
}

Semantic roles & 50–950 ramp

primary
#3041AB
secondary
#C3B874
accent
#CB48DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #3041AB

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

Preview Lab → · Contrast checker → · Palette generator →

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