#274790#274790

#274790 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.6% C 0.127 H 263.9°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#274790
RGBrgb(39, 71, 144)
HSLhsl(222, 57%, 36%)
HSVhsv(222, 73%, 56%)
CMYKcmyk(72.9%, 50.7%, 0%, 43.5%)
CIE-LABlab(31.69, 14.65, -43.87)
CIE-LCHlch(31.69, 46.26, 288.47°)
OKLaboklab(41.62% -0.0134 -0.126)
OKLCHoklch(41.62% 0.127 263.9)
XYZxyz(8.1222, 6.9506, 27.2937)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274790 #907027
analogous
#277B90 #274790 #3B2790
triadic
#274790 #902747 #479027
tetradic
#274790 #90277B #907027 #27903B
square
#274790 #90277B #907027 #27903B
split-complementary
#274790 #903B27 #7B9027
monochromatic
#0D1830 #1A2F60 #274790 #345FC0 #5E82D3

Accessibility & contrast

On white

8.79
#274790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#274790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274790
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274790#FFFFFF#000000##FFFFFF
##2747901.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5093
Deuteranopia (green-blind)
#00468F
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #274790;
/* rgb */ color: rgb(39, 71, 144);
/* oklch */ color: oklch(41.6% 0.127 263.9);
Tailwind
colors: {
  custom: {
    50: '#6f79b1',
    500: '#274790',
    950: '#000000',
  },
}
SCSS
$custom: #274790;
$custom-light: #6f79b1;
$custom-dark: #000000;
JSON
{
  "hex": "#274790",
  "rgb": {
    "r": 39,
    "g": 71,
    "b": 144
  },
  "hsl": {
    "h": 221.714,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41623,
    "c": 0.12668,
    "h": 263.9
  },
  "luminance": 0.06951
}

Semantic roles & 50–950 ramp

primary
#274790
secondary
#B99C5A
accent
#B247E1
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080911
muted
#7B7B80

Preview Lab

Preview with #274790

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

Preview Lab → · Contrast checker → · Palette generator →

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