#274182#274182

#274182 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.2% C 0.114 H 265.1°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#274182
RGBrgb(39, 65, 130)
HSLhsl(223, 54%, 33%)
HSVhsv(223, 70%, 51%)
CMYKcmyk(70%, 50%, 0%, 49%)
CIE-LABlab(28.96, 13.31, -39.63)
CIE-LCHlch(28.96, 41.81, 288.56°)
OKLaboklab(39.23% -0.0096 -0.1136)
OKLCHoklch(39.23% 0.114 265.1)
XYZxyz(6.7549, 5.8230, 21.8827)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274182 #826827
analogous
#276E82 #274182 #3A2782
triadic
#274182 #822741 #418227
tetradic
#274182 #82276E #826827 #27823A
square
#274182 #82276E #826827 #27823A
split-complementary
#274182 #823A27 #6E8227
monochromatic
#0B1224 #192953 #274182 #3559B1 #5778CD

Accessibility & contrast

On white

9.70
#274182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#274182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274182
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274182#FFFFFF#000000##FFFFFF
##2741821.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4984
Deuteranopia (green-blind)
#074081
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #274182;
/* rgb */ color: rgb(39, 65, 130);
/* oklch */ color: oklch(39.2% 0.114 265.1);
Tailwind
colors: {
  custom: {
    50: '#6d75a7',
    500: '#274182',
    950: '#000000',
  },
}
SCSS
$custom: #274182;
$custom-light: #6d75a7;
$custom-dark: #000000;
JSON
{
  "hex": "#274182",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 130
  },
  "hsl": {
    "h": 222.857,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39226,
    "c": 0.114,
    "h": 265.1
  },
  "luminance": 0.05824
}

Semantic roles & 50–950 ramp

primary
#274182
secondary
#B19753
accent
#B34BDD
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #274182

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

Preview Lab → · Contrast checker → · Palette generator →

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