#274277#274277

#274277 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.7% C 0.096 H 262.5°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#274277
RGBrgb(39, 66, 119)
HSLhsl(220, 51%, 31%)
HSVhsv(220, 67%, 47%)
CMYKcmyk(67.2%, 44.5%, 0%, 53.3%)
CIE-LABlab(28.54, 8.37, -33.42)
CIE-LCHlch(28.54, 34.46, 284.06°)
OKLaboklab(38.67% -0.0126 -0.0953)
OKLCHoklch(38.67% 0.096 262.5)
XYZxyz(6.1135, 5.6591, 18.2193)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274277 #775C27
analogous
#276A77 #274277 #342777
triadic
#274277 #772742 #427727
tetradic
#274277 #77276A #775C27 #277734
square
#274277 #77276A #775C27 #277734
split-complementary
#274277 #773427 #6A7727
monochromatic
#090F1B #182849 #274277 #365CA5 #5279C6

Accessibility & contrast

On white

9.85
#274277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#274277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274277
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274277#FFFFFF#000000##FFFFFF
##2742771.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294779
Deuteranopia (green-blind)
#1D4076
Tritanopia (blue-blind)
#004E56
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #274277;
/* rgb */ color: rgb(39, 66, 119);
/* oklch */ color: oklch(38.7% 0.096 262.5);
Tailwind
colors: {
  custom: {
    50: '#6a769e',
    500: '#274277',
    950: '#000000',
  },
}
SCSS
$custom: #274277;
$custom-light: #6a769e;
$custom-dark: #000000;
JSON
{
  "hex": "#274277",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 119
  },
  "hsl": {
    "h": 219.75,
    "s": 50.633,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38665,
    "c": 0.09616,
    "h": 262.5
  },
  "luminance": 0.0566
}

Semantic roles & 50–950 ramp

primary
#274277
secondary
#A98B51
accent
#AB4EDA
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #274277

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

Preview Lab → · Contrast checker → · Palette generator →

#274277 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva