#274288#274288

#274288 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.9% C 0.122 H 265.4°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#274288
RGBrgb(39, 66, 136)
HSLhsl(223, 55%, 34%)
HSVhsv(223, 71%, 53%)
CMYKcmyk(71.3%, 51.5%, 0%, 46.7%)
CIE-LABlab(29.67, 14.95, -42.21)
CIE-LCHlch(29.67, 44.78, 289.51°)
OKLaboklab(39.9% -0.0098 -0.1211)
OKLCHoklch(39.9% 0.122 265.4)
XYZxyz(7.2273, 6.1046, 24.0852)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274288 #886D27
analogous
#277388 #274288 #3D2788
triadic
#274288 #882742 #428827
tetradic
#274288 #882773 #886D27 #27883D
square
#274288 #882773 #886D27 #27883D
split-complementary
#274288 #883D27 #738827
monochromatic
#0C1429 #192B58 #274288 #3559B8 #5A7BD0

Accessibility & contrast

On white

9.46
#274288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#274288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274288
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274288#FFFFFF#000000##FFFFFF
##2742881.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194B8B
Deuteranopia (green-blind)
#004287
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #274288;
/* rgb */ color: rgb(39, 66, 136);
/* oklch */ color: oklch(39.9% 0.122 265.4);
Tailwind
colors: {
  custom: {
    50: '#6e75ab',
    500: '#274288',
    950: '#000000',
  },
}
SCSS
$custom: #274288;
$custom-light: #6e75ab;
$custom-dark: #000000;
JSON
{
  "hex": "#274288",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 136
  },
  "hsl": {
    "h": 223.299,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39904,
    "c": 0.12155,
    "h": 265.4
  },
  "luminance": 0.06105
}

Semantic roles & 50–950 ramp

primary
#274288
secondary
#B59A56
accent
#B549DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #274288

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

Preview Lab → · Contrast checker → · Palette generator →

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