#6274CA#6274CA

#6274CA is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.5% C 0.133 H 272.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6274CA
RGBrgb(98, 116, 202)
HSLhsl(230, 50%, 59%)
HSVhsv(230, 51%, 79%)
CMYKcmyk(51.5%, 42.6%, 0%, 20.8%)
CIE-LABlab(51.09, 17.51, -46.86)
CIE-LCHlch(51.09, 50.02, 290.49°)
OKLaboklab(58.49% 0.0064 -0.1329)
OKLCHoklch(58.49% 0.133 272.7)
XYZxyz(21.9396, 19.3503, 58.4445)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6274CA #CAB862
analogous
#62A8CA #6274CA #8462CA
triadic
#6274CA #CA6274 #74CA62
tetradic
#6274CA #CA62A8 #CAB862 #62CA84
square
#6274CA #CA62A8 #CAB862 #62CA84
split-complementary
#6274CA #CA8462 #A8CA62
monochromatic
#2D3C85 #3C51B3 #6274CA #909DD9 #BEC5E9

Accessibility & contrast

On white

4.31
#6274CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#6274CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6274CA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6274CA#FFFFFF#000000##000000
##6274CA1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#517ECD
Deuteranopia (green-blind)
#4676C8
Tritanopia (blue-blind)
#348695
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6274ca;
/* rgb */ color: rgb(98, 116, 202);
/* oklch */ color: oklch(58.5% 0.133 272.7);
Tailwind
colors: {
  custom: {
    50: '#959bda',
    500: '#6274ca',
    950: '#000000',
  },
}
SCSS
$custom: #6274ca;
$custom-light: #959bda;
$custom-dark: #000000;
JSON
{
  "hex": "#6274ca",
  "rgb": {
    "r": 98,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 229.615,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58487,
    "c": 0.13309,
    "h": 272.7
  },
  "luminance": 0.19352
}

Semantic roles & 50–950 ramp

primary
#6274CA
secondary
#D8D1AF
accent
#C14FD9
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6274CA

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

Preview Lab → · Contrast checker → · Palette generator →

#6274CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva