#3045C1#3045C1

#3045C1 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.8% C 0.194 H 269.4°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#3045C1
RGBrgb(48, 69, 193)
HSLhsl(231, 60%, 47%)
HSVhsv(231, 75%, 76%)
CMYKcmyk(75.1%, 64.2%, 0%, 24.3%)
CIE-LABlab(35.47, 35.58, -67.04)
CIE-LCHlch(35.47, 75.89, 297.95°)
OKLaboklab(45.78% -0.002 -0.1939)
OKLCHoklch(45.78% 0.194 269.4)
XYZxyz(12.9694, 8.7335, 51.4439)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3045C1 #C1AC30
analogous
#308EC1 #3045C1 #6330C1
triadic
#3045C1 #C13045 #45C130
tetradic
#3045C1 #C1308E #C1AC30 #30C163
square
#3045C1 #C1308E #C1AC30 #30C163
split-complementary
#3045C1 #C16330 #8EC130
monochromatic
#18225F #243390 #3045C1 #596BD6 #8A96E2

Accessibility & contrast

On white

7.64
#3045C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3045C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3045C1
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3045C1#FFFFFF#000000##FFFFFF
##3045C11.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC5
Deuteranopia (green-blind)
#004DBF
Tritanopia (blue-blind)
#00667D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3045c1;
/* rgb */ color: rgb(48, 69, 193);
/* oklch */ color: oklch(45.8% 0.194 269.4);
Tailwind
colors: {
  custom: {
    50: '#7e78d5',
    500: '#3045c1',
    950: '#000000',
  },
}
SCSS
$custom: #3045c1;
$custom-light: #7e78d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3045c1",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 193
  },
  "hsl": {
    "h": 231.31,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45775,
    "c": 0.19387,
    "h": 269.4
  },
  "luminance": 0.08735
}

Semantic roles & 50–950 ramp

primary
#3045C1
secondary
#CCC181
accent
#CC44E3
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3045C1

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

Preview Lab → · Contrast checker → · Palette generator →

#3045C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva