#274BA7#274BA7

#274BA7 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.3% C 0.154 H 264.7°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#274BA7
RGBrgb(39, 75, 167)
HSLhsl(223, 62%, 40%)
HSVhsv(223, 77%, 65%)
CMYKcmyk(76.6%, 55.1%, 0%, 34.5%)
CIE-LABlab(34.50, 20.89, -53.24)
CIE-LCHlch(34.50, 57.19, 291.42°)
OKLaboklab(44.29% -0.0143 -0.1535)
OKLCHoklch(44.29% 0.154 264.7)
XYZxyz(10.3254, 8.2524, 37.6004)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274BA7 #A78327
analogous
#278BA7 #274BA7 #4327A7
triadic
#274BA7 #A7274B #4BA727
tetradic
#274BA7 #A7278B #A78327 #27A743
square
#274BA7 #A7278B #A78327 #27A743
split-complementary
#274BA7 #A74327 #8BA727
monochromatic
#101E44 #1B3575 #274BA7 #3A65D1 #6C8CDD

Accessibility & contrast

On white

7.92
#274BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#274BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274BA7
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274BA7#FFFFFF#000000##FFFFFF
##274BA71.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#004CA5
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #274ba7;
/* rgb */ color: rgb(39, 75, 167);
/* oklch */ color: oklch(44.3% 0.154 264.7);
Tailwind
colors: {
  custom: {
    50: '#747cc2',
    500: '#274ba7',
    950: '#000000',
  },
}
SCSS
$custom: #274ba7;
$custom-light: #747cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#274ba7",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 167
  },
  "hsl": {
    "h": 223.125,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44288,
    "c": 0.15414,
    "h": 264.7
  },
  "luminance": 0.08254
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #274BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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