#274CA8#274CA8

#274CA8 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.6% C 0.154 H 264.4°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#274CA8
RGBrgb(39, 76, 168)
HSLhsl(223, 62%, 41%)
HSVhsv(223, 77%, 66%)
CMYKcmyk(76.8%, 54.8%, 0%, 34.1%)
CIE-LABlab(34.86, 20.61, -53.27)
CIE-LCHlch(34.86, 57.12, 291.15°)
OKLaboklab(44.58% -0.015 -0.1535)
OKLCHoklch(44.58% 0.154 264.4)
XYZxyz(10.4865, 8.4262, 38.1119)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274CA8 #A88327
analogous
#278CA8 #274CA8 #4327A8
triadic
#274CA8 #A8274C #4CA827
tetradic
#274CA8 #A8278C #A88327 #27A843
square
#274CA8 #A8278C #A88327 #27A843
split-complementary
#274CA8 #A84327 #8CA827
monochromatic
#101F45 #1B3676 #274CA8 #3B66D1 #6C8DDD

Accessibility & contrast

On white

7.82
#274CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#274CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274CA8
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274CA8#FFFFFF#000000##FFFFFF
##274CA81.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#004CA6
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #274ca8;
/* rgb */ color: rgb(39, 76, 168);
/* oklch */ color: oklch(44.6% 0.154 264.4);
Tailwind
colors: {
  custom: {
    50: '#757dc3',
    500: '#274ca8',
    950: '#000000',
  },
}
SCSS
$custom: #274ca8;
$custom-light: #757dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#274ca8",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 168
  },
  "hsl": {
    "h": 222.791,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44578,
    "c": 0.15426,
    "h": 264.4
  },
  "luminance": 0.08427
}

Semantic roles & 50–950 ramp

primary
#274CA8
secondary
#C3A967
accent
#B742E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #274CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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