#274284#274284

#274284 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.6% C 0.116 H 264.9°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#274284
RGBrgb(39, 66, 132)
HSLhsl(223, 54%, 34%)
HSVhsv(223, 70%, 52%)
CMYKcmyk(70.5%, 50%, 0%, 48.2%)
CIE-LABlab(29.39, 13.40, -40.18)
CIE-LCHlch(29.39, 42.35, 288.44°)
OKLaboklab(39.6% -0.0103 -0.1152)
OKLCHoklch(39.6% 0.116 264.9)
XYZxyz(6.9483, 5.9930, 22.6159)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274284 #846927
analogous
#277084 #274284 #3A2784
triadic
#274284 #842742 #428427
tetradic
#274284 #842770 #846927 #27843A
square
#274284 #842770 #846927 #27843A
split-complementary
#274284 #843A27 #708427
monochromatic
#0B1326 #192A55 #274284 #355AB3 #587ACE

Accessibility & contrast

On white

9.55
#274284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#274284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274284
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274284#FFFFFF#000000##FFFFFF
##2742841.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #274284;
/* rgb */ color: rgb(39, 66, 132);
/* oklch */ color: oklch(39.6% 0.116 264.9);
Tailwind
colors: {
  custom: {
    50: '#6d75a8',
    500: '#274284',
    950: '#000000',
  },
}
SCSS
$custom: #274284;
$custom-light: #6d75a8;
$custom-dark: #000000;
JSON
{
  "hex": "#274284",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 132
  },
  "hsl": {
    "h": 222.581,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39601,
    "c": 0.11564,
    "h": 264.9
  },
  "luminance": 0.05994
}

Semantic roles & 50–950 ramp

primary
#274284
secondary
#B29754
accent
#B34ADE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #274284

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

Preview Lab → · Contrast checker → · Palette generator →

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