#274EAF#274EAF

#274EAF is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.161 H 264.3°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#274EAF
RGBrgb(39, 78, 175)
HSLhsl(223, 64%, 42%)
HSVhsv(223, 78%, 69%)
CMYKcmyk(77.7%, 55.4%, 0%, 31.4%)
CIE-LABlab(35.93, 21.98, -55.68)
CIE-LCHlch(35.93, 59.86, 291.54°)
OKLaboklab(45.56% -0.0159 -0.1606)
OKLCHoklch(45.56% 0.161 264.3)
XYZxyz(11.2962, 8.9740, 41.6859)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274EAF #AF8827
analogous
#2792AF #274EAF #4427AF
triadic
#274EAF #AF274E #4EAF27
tetradic
#274EAF #AF2792 #AF8827 #27AF44
square
#274EAF #AF2792 #AF8827 #27AF44
split-complementary
#274EAF #AF4427 #92AF27
monochromatic
#11214B #1C387D #274EAF #3F6AD4 #7191DF

Accessibility & contrast

On white

7.51
#274EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#274EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274EAF
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274EAF#FFFFFF#000000##FFFFFF
##274EAF1.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #274eaf;
/* rgb */ color: rgb(39, 78, 175);
/* oklch */ color: oklch(45.6% 0.161 264.3);
Tailwind
colors: {
  custom: {
    50: '#767fc8',
    500: '#274eaf',
    950: '#000000',
  },
}
SCSS
$custom: #274eaf;
$custom-light: #767fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#274eaf",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 222.794,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4556,
    "c": 0.16138,
    "h": 264.3
  },
  "luminance": 0.08975
}

Semantic roles & 50–950 ramp

primary
#274EAF
secondary
#C6AC6B
accent
#B741E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #274EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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