#274270#274270

#274270 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.2% C 0.086 H 260.4°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#274270
RGBrgb(39, 66, 112)
HSLhsl(218, 48%, 30%)
HSVhsv(218, 65%, 44%)
CMYKcmyk(65.2%, 41.1%, 0%, 56.1%)
CIE-LABlab(28.11, 5.69, -29.68)
CIE-LCHlch(28.11, 30.22, 280.86°)
OKLaboklab(38.19% -0.0142 -0.0844)
OKLCHoklch(38.19% 0.086 260.4)
XYZxyz(5.7085, 5.4971, 16.0863)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274270 #705527
analogous
#276770 #274270 #312770
triadic
#274270 #702742 #427027
tetradic
#274270 #702767 #705527 #277031
square
#274270 #702767 #705527 #277031
split-complementary
#274270 #703127 #677027
monochromatic
#080D17 #172743 #274270 #375D9D #507AC2

Accessibility & contrast

On white

10.00
#274270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#274270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274270
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274270#FFFFFF#000000##FFFFFF
##2742701.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4672
Deuteranopia (green-blind)
#243F6F
Tritanopia (blue-blind)
#004C53
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #274270;
/* rgb */ color: rgb(39, 66, 112);
/* oklch */ color: oklch(38.2% 0.086 260.4);
Tailwind
colors: {
  custom: {
    50: '#697699',
    500: '#274270',
    950: '#000000',
  },
}
SCSS
$custom: #274270;
$custom-light: #697699;
$custom-dark: #000000;
JSON
{
  "hex": "#274270",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 112
  },
  "hsl": {
    "h": 217.808,
    "s": 48.344,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38194,
    "c": 0.08555,
    "h": 260.4
  },
  "luminance": 0.05498
}

Semantic roles & 50–950 ramp

primary
#274270
secondary
#A28450
accent
#A650D8
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #274270

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

Preview Lab → · Contrast checker → · Palette generator →

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