#274185#274185

#274185 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.5% C 0.118 H 265.5°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#274185
RGBrgb(39, 65, 133)
HSLhsl(223, 55%, 34%)
HSVhsv(223, 71%, 52%)
CMYKcmyk(70.7%, 51.1%, 0%, 47.8%)
CIE-LABlab(29.17, 14.47, -41.16)
CIE-LCHlch(29.17, 43.63, 289.37°)
OKLaboklab(39.45% -0.0092 -0.1181)
OKLCHoklch(39.45% 0.118 265.5)
XYZxyz(6.9592, 5.9047, 22.9587)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274185 #856B27
analogous
#277085 #274185 #3C2785
triadic
#274185 #852741 #418527
tetradic
#274185 #852770 #856B27 #27853C
square
#274185 #852770 #856B27 #27853C
split-complementary
#274185 #853C27 #708527
monochromatic
#0B1326 #192A56 #274185 #3558B4 #5879CE

Accessibility & contrast

On white

9.63
#274185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#274185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274185
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274185#FFFFFF#000000##FFFFFF
##2741851.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4987
Deuteranopia (green-blind)
#004184
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #274185;
/* rgb */ color: rgb(39, 65, 133);
/* oklch */ color: oklch(39.5% 0.118 265.5);
Tailwind
colors: {
  custom: {
    50: '#6d75a9',
    500: '#274185',
    950: '#000000',
  },
}
SCSS
$custom: #274185;
$custom-light: #6d75a9;
$custom-dark: #000000;
JSON
{
  "hex": "#274185",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 133
  },
  "hsl": {
    "h": 223.404,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39453,
    "c": 0.11845,
    "h": 265.5
  },
  "luminance": 0.05905
}

Semantic roles & 50–950 ramp

primary
#274185
secondary
#B39955
accent
#B54ADE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #274185

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

Preview Lab → · Contrast checker → · Palette generator →

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