#274F8B#274F8B

#274F8B is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.1% C 0.109 H 258.4°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#274F8B
RGBrgb(39, 79, 139)
HSLhsl(216, 56%, 35%)
HSVhsv(216, 72%, 55%)
CMYKcmyk(71.9%, 43.2%, 0%, 45.5%)
CIE-LABlab(33.75, 7.33, -37.52)
CIE-LCHlch(33.75, 38.23, 281.05°)
OKLaboklab(43.1% -0.022 -0.1071)
OKLCHoklch(43.1% 0.109 258.4)
XYZxyz(8.2912, 7.8865, 25.5064)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F8B #8B6327
analogous
#27818B #274F8B #31278B
triadic
#274F8B #8B274F #4F8B27
tetradic
#274F8B #8B2781 #8B6327 #278B31
square
#274F8B #8B2781 #8B6327 #278B31
split-complementary
#274F8B #8B3127 #818B27
monochromatic
#0C192B #1A345B #274F8B #346ABB #5B8AD1

Accessibility & contrast

On white

8.15
#274F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#274F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274F8B
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F8B#FFFFFF#000000##FFFFFF
##274F8B1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548D
Deuteranopia (green-blind)
#224B8A
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #274f8b;
/* rgb */ color: rgb(39, 79, 139);
/* oklch */ color: oklch(43.1% 0.109 258.4);
Tailwind
colors: {
  custom: {
    50: '#6e7fad',
    500: '#274f8b',
    950: '#000000',
  },
}
SCSS
$custom: #274f8b;
$custom-light: #6e7fad;
$custom-dark: #000000;
JSON
{
  "hex": "#274f8b",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 139
  },
  "hsl": {
    "h": 216,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43095,
    "c": 0.10938,
    "h": 258.4
  },
  "luminance": 0.07887
}

Semantic roles & 50–950 ramp

primary
#274F8B
secondary
#B69058
accent
#A348DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #274F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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