#3145C8#3145C8

#3145C8 is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 46.5% C 0.203 H 269.6°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#3145C8
RGBrgb(49, 69, 200)
HSLhsl(232, 61%, 49%)
HSVhsv(232, 76%, 78%)
CMYKcmyk(75.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(36.13, 38.19, -70.03)
CIE-LCHlch(36.13, 79.76, 298.60°)
OKLaboklab(46.47% -0.0014 -0.2026)
OKLCHoklch(46.47% 0.203 269.6)
XYZxyz(13.8165, 9.0778, 55.6564)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3145C8 #C8B431
analogous
#3191C8 #3145C8 #6931C8
triadic
#3145C8 #C83145 #45C831
tetradic
#3145C8 #C83191 #C8B431 #31C869
square
#3145C8 #C83191 #C8B431 #31C869
split-complementary
#3145C8 #C86931 #91C831
monochromatic
#192366 #253497 #3145C8 #5F6FD8 #909BE4

Accessibility & contrast

On white

7.46
#3145C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3145C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3145C8
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3145C8#FFFFFF#000000##FFFFFF
##3145C81.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCC
Deuteranopia (green-blind)
#004EC6
Tritanopia (blue-blind)
#006880
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3145c8;
/* rgb */ color: rgb(49, 69, 200);
/* oklch */ color: oklch(46.5% 0.203 269.6);
Tailwind
colors: {
  custom: {
    50: '#8079da',
    500: '#3145c8',
    950: '#000000',
  },
}
SCSS
$custom: #3145c8;
$custom-light: #8079da;
$custom-dark: #000000;
JSON
{
  "hex": "#3145c8",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 232.053,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46467,
    "c": 0.20258,
    "h": 269.6
  },
  "luminance": 0.09079
}

Semantic roles & 50–950 ramp

primary
#3145C8
secondary
#CEC586
accent
#CF44E4
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3145C8

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

Preview Lab → · Contrast checker → · Palette generator →

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