#274281#274281

#274281 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.4% C 0.111 H 264.4°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#274281
RGBrgb(39, 66, 129)
HSLhsl(222, 54%, 33%)
HSVhsv(222, 70%, 51%)
CMYKcmyk(69.8%, 48.8%, 0%, 49.4%)
CIE-LABlab(29.19, 12.23, -38.64)
CIE-LCHlch(29.19, 40.53, 287.57°)
OKLaboklab(39.38% -0.0108 -0.1107)
OKLCHoklch(39.38% 0.111 264.4)
XYZxyz(6.7460, 5.9121, 21.5503)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274281 #816627
analogous
#276F81 #274281 #392781
triadic
#274281 #812742 #428127
tetradic
#274281 #81276F #816627 #278139
square
#274281 #81276F #816627 #278139
split-complementary
#274281 #813927 #6F8127
monochromatic
#0B1223 #192A52 #274281 #355AB0 #567ACC

Accessibility & contrast

On white

9.62
#274281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274281
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274281#FFFFFF#000000##FFFFFF
##2742811.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214983
Deuteranopia (green-blind)
#0E4180
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #274281;
/* rgb */ color: rgb(39, 66, 129);
/* oklch */ color: oklch(39.4% 0.111 264.4);
Tailwind
colors: {
  custom: {
    50: '#6c75a6',
    500: '#274281',
    950: '#000000',
  },
}
SCSS
$custom: #274281;
$custom-light: #6c75a6;
$custom-dark: #000000;
JSON
{
  "hex": "#274281",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 129
  },
  "hsl": {
    "h": 222,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39378,
    "c": 0.11119,
    "h": 264.4
  },
  "luminance": 0.05913
}

Semantic roles & 50–950 ramp

primary
#274281
secondary
#B19553
accent
#B14BDD
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #274281

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

Preview Lab → · Contrast checker → · Palette generator →

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