#274F8F#274F8F

#274F8F is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.4% C 0.115 H 259.4°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#274F8F
RGBrgb(39, 79, 143)
HSLhsl(217, 57%, 36%)
HSVhsv(217, 73%, 56%)
CMYKcmyk(72.7%, 44.8%, 0%, 43.9%)
CIE-LABlab(33.99, 8.88, -39.57)
CIE-LCHlch(33.99, 40.55, 282.65°)
OKLaboklab(43.37% -0.0211 -0.1132)
OKLCHoklch(43.37% 0.115 259.4)
XYZxyz(8.5888, 8.0056, 27.0739)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F8F #8F6727
analogous
#27838F #274F8F #33278F
triadic
#274F8F #8F274F #4F8F27
tetradic
#274F8F #8F2783 #8F6727 #278F33
square
#274F8F #8F2783 #8F6727 #278F33
split-complementary
#274F8F #8F3327 #838F27
monochromatic
#0D1A2F #1A345F #274F8F #346ABF #5D8BD3

Accessibility & contrast

On white

8.07
#274F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#274F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274F8F
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F8F#FFFFFF#000000##FFFFFF
##274F8F1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305591
Deuteranopia (green-blind)
#1D4B8E
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #274f8f;
/* rgb */ color: rgb(39, 79, 143);
/* oklch */ color: oklch(43.4% 0.115 259.4);
Tailwind
colors: {
  custom: {
    50: '#6f7fb0',
    500: '#274f8f',
    950: '#000000',
  },
}
SCSS
$custom: #274f8f;
$custom-light: #6f7fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#274f8f",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 143
  },
  "hsl": {
    "h": 216.923,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43368,
    "c": 0.11512,
    "h": 259.4
  },
  "luminance": 0.08006
}

Semantic roles & 50–950 ramp

primary
#274F8F
secondary
#B8945A
accent
#A647E0
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #274F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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