#3043A2#3043A2

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

Color values

HEX#3043A2
RGBrgb(48, 67, 162)
HSLhsl(230, 54%, 41%)
HSVhsv(230, 70%, 64%)
CMYKcmyk(70.4%, 58.6%, 0%, 36.5%)
CIE-LABlab(32.37, 25.53, -53.69)
CIE-LCHlch(32.37, 59.45, 295.43°)
OKLaboklab(42.68% -0.0001 -0.1547)
OKLCHoklch(42.68% 0.155 270)
XYZxyz(9.7454, 7.2504, 35.0613)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3043A2 #A28F30
analogous
#307CA2 #3043A2 #5630A2
triadic
#3043A2 #A23043 #43A230
tetradic
#3043A2 #A2307C #A28F30 #30A256
square
#3043A2 #A2307C #A28F30 #30A256
split-complementary
#3043A2 #A25630 #7CA230
monochromatic
#141C44 #222F73 #3043A2 #475CC8 #7686D6

Accessibility & contrast

On white

8.57
#3043A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3043A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3043A2
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3043A2#FFFFFF#000000##FFFFFF
##3043A21.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3043a2;
/* rgb */ color: rgb(48, 67, 162);
/* oklch */ color: oklch(42.7% 0.155 270.0);
Tailwind
colors: {
  custom: {
    50: '#7776be',
    500: '#3043a2',
    950: '#000000',
  },
}
SCSS
$custom: #3043a2;
$custom-light: #7776be;
$custom-dark: #000000;
JSON
{
  "hex": "#3043a2",
  "rgb": {
    "r": 48,
    "g": 67,
    "b": 162
  },
  "hsl": {
    "h": 230,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4268,
    "c": 0.15471,
    "h": 270
  },
  "luminance": 0.07251
}

Semantic roles & 50–950 ramp

primary
#3043A2
secondary
#BEB16F
accent
#C54ADE
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3043A2

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

Preview Lab → · Contrast checker → · Palette generator →

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