#274694#274694

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

Color values

HEX#274694
RGBrgb(39, 70, 148)
HSLhsl(223, 58%, 37%)
HSVhsv(223, 74%, 58%)
CMYKcmyk(73.6%, 52.7%, 0%, 42%)
CIE-LABlab(31.69, 16.89, -46.32)
CIE-LCHlch(31.69, 49.31, 290.03°)
OKLaboklab(41.71% -0.012 -0.1332)
OKLCHoklch(41.71% 0.134 264.8)
XYZxyz(8.3703, 6.9489, 28.9114)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274694 #947527
analogous
#277D94 #274694 #3F2794
triadic
#274694 #942746 #469427
tetradic
#274694 #94277D #947527 #27943F
square
#274694 #94277D #947527 #27943F
split-complementary
#274694 #943F27 #7D9427
monochromatic
#0D1833 #1A2F64 #274694 #345DC4 #6081D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##274694#FFFFFF#000000##FFFFFF
##2746941.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)
#145097
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#005966
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #274694;
/* rgb */ color: rgb(39, 70, 148);
/* oklch */ color: oklch(41.7% 0.134 264.8);
Tailwind
colors: {
  custom: {
    50: '#7078b4',
    500: '#274694',
    950: '#000000',
  },
}
SCSS
$custom: #274694;
$custom-light: #7078b4;
$custom-dark: #000000;
JSON
{
  "hex": "#274694",
  "rgb": {
    "r": 39,
    "g": 70,
    "b": 148
  },
  "hsl": {
    "h": 222.936,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41711,
    "c": 0.13374,
    "h": 264.8
  },
  "luminance": 0.0695
}

Semantic roles & 50–950 ramp

primary
#274694
secondary
#BBA05C
accent
#B546E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #274694

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

Preview Lab → · Contrast checker → · Palette generator →

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