#3145E2#3145E2

#3145E2 is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 49.0% C 0.235 H 269.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#3145E2
RGBrgb(49, 69, 226)
HSLhsl(233, 75%, 54%)
HSVhsv(233, 78%, 89%)
CMYKcmyk(78.3%, 69.5%, 0%, 11.4%)
CIE-LABlab(38.55, 47.24, -81.03)
CIE-LCHlch(38.55, 93.80, 300.24°)
OKLaboklab(48.95% -0.0036 -0.2347)
OKLCHoklch(48.95% 0.235 269.1)
XYZxyz(17.1175, 10.3982, 73.0417)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3145E2 #E2CE31
analogous
#319EE2 #3145E2 #7631E2
triadic
#3145E2 #E23145 #45E231
tetradic
#3145E2 #E2319E #E2CE31 #31E276
square
#3145E2 #E2319E #E2CE31 #31E276
split-complementary
#3145E2 #E27631 #9EE231
monochromatic
#132086 #1A2DBB #3145E2 #6775EA #9CA6F1

Accessibility & contrast

On white

6.82
#3145E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3145E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3145E2
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3145E2#FFFFFF#000000##FFFFFF
##3145E21.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E7
Deuteranopia (green-blind)
#0052DF
Tritanopia (blue-blind)
#00718E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3145e2;
/* rgb */ color: rgb(49, 69, 226);
/* oklch */ color: oklch(49.0% 0.235 269.1);
Tailwind
colors: {
  custom: {
    50: '#8679ec',
    500: '#3145e2',
    950: '#000000',
  },
}
SCSS
$custom: #3145e2;
$custom-light: #8679ec;
$custom-dark: #000000;
JSON
{
  "hex": "#3145e2",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 233.22,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48951,
    "c": 0.23474,
    "h": 269.1
  },
  "luminance": 0.104
}

Semantic roles & 50–950 ramp

primary
#3145E2
secondary
#DDD592
accent
#DD36F2
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3145E2

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

Preview Lab → · Contrast checker → · Palette generator →

#3145E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva