#274783#274783

#274783 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.7% C 0.108 H 261.7°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#274783
RGBrgb(39, 71, 131)
HSLhsl(219, 54%, 33%)
HSVhsv(219, 70%, 51%)
CMYKcmyk(70.2%, 45.8%, 0%, 48.6%)
CIE-LABlab(30.82, 9.60, -37.27)
CIE-LCHlch(30.82, 38.48, 284.45°)
OKLaboklab(40.67% -0.0155 -0.1065)
OKLCHoklch(40.67% 0.108 261.7)
XYZxyz(7.1852, 6.5758, 22.3589)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274783 #836327
analogous
#277583 #274783 #352783
triadic
#274783 #832747 #478327
tetradic
#274783 #832775 #836327 #278335
square
#274783 #832775 #836327 #278335
split-complementary
#274783 #833527 #758327
monochromatic
#0B1425 #192D54 #274783 #3561B2 #5780CD

Accessibility & contrast

On white

9.07
#274783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#274783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274783
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274783#FFFFFF#000000##FFFFFF
##2747831.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4D85
Deuteranopia (green-blind)
#194582
Tritanopia (blue-blind)
#00555E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #274783;
/* rgb */ color: rgb(39, 71, 131);
/* oklch */ color: oklch(40.7% 0.108 261.7);
Tailwind
colors: {
  custom: {
    50: '#6c79a7',
    500: '#274783',
    950: '#000000',
  },
}
SCSS
$custom: #274783;
$custom-light: #6c79a7;
$custom-dark: #000000;
JSON
{
  "hex": "#274783",
  "rgb": {
    "r": 39,
    "g": 71,
    "b": 131
  },
  "hsl": {
    "h": 219.13,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40674,
    "c": 0.10767,
    "h": 261.7
  },
  "luminance": 0.06577
}

Semantic roles & 50–950 ramp

primary
#274783
secondary
#B29154
accent
#AA4ADD
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #274783

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

Preview Lab → · Contrast checker → · Palette generator →

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