#274CCA#274CCA

#274CCA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.5% C 0.200 H 266.0°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#274CCA
RGBrgb(39, 76, 202)
HSLhsl(226, 68%, 47%)
HSVhsv(226, 81%, 79%)
CMYKcmyk(80.7%, 62.4%, 0%, 20.8%)
CIE-LABlab(37.60, 33.54, -68.81)
CIE-LCHlch(37.60, 76.55, 295.98°)
OKLaboklab(47.48% -0.0138 -0.1991)
OKLCHoklch(47.48% 0.2 266)
XYZxyz(14.0781, 9.8628, 57.0274)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274CCA #CAA527
analogous
#279ECA #274CCA #5327CA
triadic
#274CCA #CA274C #4CCA27
tetradic
#274CCA #CA279E #CAA527 #27CA53
square
#274CCA #CA279E #CAA527 #27CA53
split-complementary
#274CCA #CA5327 #9ECA27
monochromatic
#132563 #1D3997 #274CCA #5171DD #849BE7

Accessibility & contrast

On white

7.06
#274CCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#274CCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274CCA
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274CCA#FFFFFF#000000##FFFFFF
##274CCA1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0051C8
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #274cca;
/* rgb */ color: rgb(39, 76, 202);
/* oklch */ color: oklch(47.5% 0.200 266.0);
Tailwind
colors: {
  custom: {
    50: '#7d7ddb',
    500: '#274cca',
    950: '#000000',
  },
}
SCSS
$custom: #274cca;
$custom-light: #7d7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#274cca",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 202
  },
  "hsl": {
    "h": 226.38,
    "s": 67.635,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47482,
    "c": 0.19962,
    "h": 266
  },
  "luminance": 0.09864
}

Semantic roles & 50–950 ramp

primary
#274CCA
secondary
#D0BD7C
accent
#C33DEB
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #274CCA

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

Preview Lab → · Contrast checker → · Palette generator →

#274CCA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva