#274F8E#274F8E

#274F8E is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.3% C 0.114 H 259.2°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#274F8E
RGBrgb(39, 79, 142)
HSLhsl(217, 57%, 35%)
HSVhsv(217, 73%, 56%)
CMYKcmyk(72.5%, 44.4%, 0%, 44.3%)
CIE-LABlab(33.93, 8.49, -39.06)
CIE-LCHlch(33.93, 39.97, 282.26°)
OKLaboklab(43.3% -0.0213 -0.1117)
OKLCHoklch(43.3% 0.114 259.2)
XYZxyz(8.5134, 7.9754, 26.6767)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F8E #8E6627
analogous
#27828E #274F8E #32278E
triadic
#274F8E #8E274F #4F8E27
tetradic
#274F8E #8E2782 #8E6627 #278E32
square
#274F8E #8E2782 #8E6627 #278E32
split-complementary
#274F8E #8E3227 #828E27
monochromatic
#0D1A2E #1A345E #274F8E #346ABE #5D8BD2

Accessibility & contrast

On white

8.09
#274F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274F8E
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F8E#FFFFFF#000000##FFFFFF
##274F8E1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305590
Deuteranopia (green-blind)
#1E4B8D
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #274f8e;
/* rgb */ color: rgb(39, 79, 142);
/* oklch */ color: oklch(43.3% 0.114 259.2);
Tailwind
colors: {
  custom: {
    50: '#6f7faf',
    500: '#274f8e',
    950: '#000000',
  },
}
SCSS
$custom: #274f8e;
$custom-light: #6f7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#274f8e",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 142
  },
  "hsl": {
    "h": 216.699,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.433,
    "c": 0.11369,
    "h": 259.2
  },
  "luminance": 0.07976
}

Semantic roles & 50–950 ramp

primary
#274F8E
secondary
#B89359
accent
#A548E0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #274F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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