#274BA6#274BA6

#274BA6 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.2% C 0.153 H 264.6°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#274BA6
RGBrgb(39, 75, 166)
HSLhsl(223, 62%, 40%)
HSVhsv(223, 77%, 65%)
CMYKcmyk(76.5%, 54.8%, 0%, 34.9%)
CIE-LABlab(34.43, 20.50, -52.77)
CIE-LCHlch(34.43, 56.61, 291.23°)
OKLaboklab(44.21% -0.0144 -0.1521)
OKLCHoklch(44.21% 0.153 264.6)
XYZxyz(10.2333, 8.2155, 37.1154)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274BA6 #A68227
analogous
#278AA6 #274BA6 #4227A6
triadic
#274BA6 #A6274B #4BA627
tetradic
#274BA6 #A6278A #A68227 #27A642
square
#274BA6 #A6278A #A68227 #27A642
split-complementary
#274BA6 #A64227 #8AA627
monochromatic
#101E43 #1B3574 #274BA6 #3A64D1 #6B8BDC

Accessibility & contrast

On white

7.94
#274BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274BA6
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274BA6#FFFFFF#000000##FFFFFF
##274BA61.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#004BA4
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #274ba6;
/* rgb */ color: rgb(39, 75, 166);
/* oklch */ color: oklch(44.2% 0.153 264.6);
Tailwind
colors: {
  custom: {
    50: '#747cc1',
    500: '#274ba6',
    950: '#000000',
  },
}
SCSS
$custom: #274ba6;
$custom-light: #747cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#274ba6",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 166
  },
  "hsl": {
    "h": 222.992,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44207,
    "c": 0.15275,
    "h": 264.6
  },
  "luminance": 0.08217
}

Semantic roles & 50–950 ramp

primary
#274BA6
secondary
#C3A866
accent
#B743E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #274BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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