#274175#274175

#274175 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.3% C 0.094 H 262.7°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#274175
RGBrgb(39, 65, 117)
HSLhsl(220, 50%, 31%)
HSVhsv(220, 67%, 46%)
CMYKcmyk(66.7%, 44.4%, 0%, 54.1%)
CIE-LABlab(28.10, 8.29, -32.85)
CIE-LCHlch(28.10, 33.88, 284.16°)
OKLaboklab(38.29% -0.0119 -0.0937)
OKLCHoklch(38.29% 0.094 262.7)
XYZxyz(5.9368, 5.4957, 17.5741)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274175 #755B27
analogous
#276875 #274175 #342775
triadic
#274175 #752741 #417527
tetradic
#274175 #752768 #755B27 #277534
square
#274175 #752768 #755B27 #277534
split-complementary
#274175 #753427 #687527
monochromatic
#080E19 #182747 #274175 #365AA3 #5178C5

Accessibility & contrast

On white

10.00
#274175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#274175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274175
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274175#FFFFFF#000000##FFFFFF
##2741751.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294677
Deuteranopia (green-blind)
#1D3F74
Tritanopia (blue-blind)
#004D55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #274175;
/* rgb */ color: rgb(39, 65, 117);
/* oklch */ color: oklch(38.3% 0.094 262.7);
Tailwind
colors: {
  custom: {
    50: '#6a759d',
    500: '#274175',
    950: '#000000',
  },
}
SCSS
$custom: #274175;
$custom-light: #6a759d;
$custom-dark: #000000;
JSON
{
  "hex": "#274175",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 117
  },
  "hsl": {
    "h": 220,
    "s": 50,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3829,
    "c": 0.09443,
    "h": 262.7
  },
  "luminance": 0.05496
}

Semantic roles & 50–950 ramp

primary
#274175
secondary
#A78A51
accent
#AB4EDA
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #274175

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

Preview Lab → · Contrast checker → · Palette generator →

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