#274081#274081

#274081 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.9% C 0.114 H 265.6°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#274081
RGBrgb(39, 64, 129)
HSLhsl(223, 54%, 33%)
HSVhsv(223, 70%, 51%)
CMYKcmyk(69.8%, 50.4%, 0%, 49.4%)
CIE-LABlab(28.60, 13.61, -39.59)
CIE-LCHlch(28.60, 41.87, 288.97°)
OKLaboklab(38.93% -0.0088 -0.1135)
OKLCHoklch(38.93% 0.114 265.6)
XYZxyz(6.6312, 5.6825, 21.5120)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274081 #816827
analogous
#276D81 #274081 #3B2781
triadic
#274081 #812740 #408127
tetradic
#274081 #81276D #816827 #27813B
square
#274081 #81276D #816827 #27813B
split-complementary
#274081 #813B27 #6D8127
monochromatic
#0B1123 #192952 #274081 #3557B0 #5677CC

Accessibility & contrast

On white

9.83
#274081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#274081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274081
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274081#FFFFFF#000000##FFFFFF
##2740811.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4883
Deuteranopia (green-blind)
#054080
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #274081;
/* rgb */ color: rgb(39, 64, 129);
/* oklch */ color: oklch(38.9% 0.114 265.6);
Tailwind
colors: {
  custom: {
    50: '#6c74a6',
    500: '#274081',
    950: '#000000',
  },
}
SCSS
$custom: #274081;
$custom-light: #6c74a6;
$custom-dark: #000000;
JSON
{
  "hex": "#274081",
  "rgb": {
    "r": 39,
    "g": 64,
    "b": 129
  },
  "hsl": {
    "h": 223.333,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38926,
    "c": 0.11384,
    "h": 265.6
  },
  "luminance": 0.05683
}

Semantic roles & 50–950 ramp

primary
#274081
secondary
#B19753
accent
#B44BDD
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #274081

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

Preview Lab → · Contrast checker → · Palette generator →

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