#274BA5#274BA5

#274BA5 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.1% C 0.151 H 264.5°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#274BA5
RGBrgb(39, 75, 165)
HSLhsl(223, 62%, 40%)
HSVhsv(223, 76%, 65%)
CMYKcmyk(76.4%, 54.5%, 0%, 35.3%)
CIE-LABlab(34.35, 20.12, -52.29)
CIE-LCHlch(34.35, 56.02, 291.04°)
OKLaboklab(44.13% -0.0145 -0.1507)
OKLCHoklch(44.13% 0.151 264.5)
XYZxyz(10.1419, 8.1790, 36.6342)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274BA5 #A58127
analogous
#278AA5 #274BA5 #4227A5
triadic
#274BA5 #A5274B #4BA527
tetradic
#274BA5 #A5278A #A58127 #27A542
square
#274BA5 #A5278A #A58127 #27A542
split-complementary
#274BA5 #A54227 #8AA527
monochromatic
#101E42 #1B3574 #274BA5 #3964D0 #6A8BDC

Accessibility & contrast

On white

7.97
#274BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#274BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274BA5
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274BA5#FFFFFF#000000##FFFFFF
##274BA51.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A8
Deuteranopia (green-blind)
#004BA3
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #274ba5;
/* rgb */ color: rgb(39, 75, 165);
/* oklch */ color: oklch(44.1% 0.151 264.5);
Tailwind
colors: {
  custom: {
    50: '#747cc0',
    500: '#274ba5',
    950: '#000000',
  },
}
SCSS
$custom: #274ba5;
$custom-light: #747cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#274ba5",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 165
  },
  "hsl": {
    "h": 222.857,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.44127,
    "c": 0.15136,
    "h": 264.5
  },
  "luminance": 0.0818
}

Semantic roles & 50–950 ramp

primary
#274BA5
secondary
#C2A866
accent
#B743E5
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #274BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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