#274FCA#274FCA

#274FCA is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.0% C 0.196 H 265.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#274FCA
RGBrgb(39, 79, 202)
HSLhsl(225, 68%, 47%)
HSVhsv(225, 81%, 79%)
CMYKcmyk(80.7%, 60.9%, 0%, 20.8%)
CIE-LABlab(38.35, 31.60, -67.57)
CIE-LCHlch(38.35, 74.60, 295.06°)
OKLaboklab(48.04% -0.0155 -0.1955)
OKLCHoklch(48.04% 0.196 265.5)
XYZxyz(14.2896, 10.2859, 57.0979)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274FCA #CAA227
analogous
#27A1CA #274FCA #5027CA
triadic
#274FCA #CA274F #4FCA27
tetradic
#274FCA #CA27A1 #CAA227 #27CA50
square
#274FCA #CA27A1 #CAA227 #27CA50
split-complementary
#274FCA #CA5027 #A1CA27
monochromatic
#132763 #1D3B97 #274FCA #5173DD #849CE7

Accessibility & contrast

On white

6.87
#274FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#274FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #274FCA
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274FCA#FFFFFF#000000##FFFFFF
##274FCA1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0053C8
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #274fca;
/* rgb */ color: rgb(39, 79, 202);
/* oklch */ color: oklch(48.0% 0.196 265.5);
Tailwind
colors: {
  custom: {
    50: '#7d7fdb',
    500: '#274fca',
    950: '#000000',
  },
}
SCSS
$custom: #274fca;
$custom-light: #7d7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#274fca",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 225.276,
    "s": 67.635,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48043,
    "c": 0.19609,
    "h": 265.5
  },
  "luminance": 0.10288
}

Semantic roles & 50–950 ramp

primary
#274FCA
secondary
#D0BC7C
accent
#C03DEB
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #274FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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