#274382#274382

#274382 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.7% C 0.111 H 264.0°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#274382
RGBrgb(39, 67, 130)
HSLhsl(222, 54%, 33%)
HSVhsv(222, 70%, 51%)
CMYKcmyk(70%, 48.5%, 0%, 49%)
CIE-LABlab(29.56, 11.94, -38.68)
CIE-LCHlch(29.56, 40.48, 287.15°)
OKLaboklab(39.68% -0.0116 -0.1107)
OKLCHoklch(39.68% 0.111 264)
XYZxyz(6.8717, 6.0567, 21.9217)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274382 #826627
analogous
#277082 #274382 #382782
triadic
#274382 #822743 #438227
tetradic
#274382 #822770 #826627 #278238
square
#274382 #822770 #826627 #278238
split-complementary
#274382 #823827 #708227
monochromatic
#0B1224 #192B53 #274382 #355BB1 #577BCD

Accessibility & contrast

On white

9.50
#274382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#274382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274382
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274382#FFFFFF#000000##FFFFFF
##2743821.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234A84
Deuteranopia (green-blind)
#0F4281
Tritanopia (blue-blind)
#00525C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #274382;
/* rgb */ color: rgb(39, 67, 130);
/* oklch */ color: oklch(39.7% 0.111 264.0);
Tailwind
colors: {
  custom: {
    50: '#6c76a7',
    500: '#274382',
    950: '#000000',
  },
}
SCSS
$custom: #274382;
$custom-light: #6c76a7;
$custom-dark: #000000;
JSON
{
  "hex": "#274382",
  "rgb": {
    "r": 39,
    "g": 67,
    "b": 130
  },
  "hsl": {
    "h": 221.538,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3968,
    "c": 0.11136,
    "h": 264
  },
  "luminance": 0.06057
}

Semantic roles & 50–950 ramp

primary
#274382
secondary
#B19453
accent
#B04BDD
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #274382

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

Preview Lab → · Contrast checker → · Palette generator →

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