#274271#274271

#274271 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.3% C 0.087 H 260.8°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#274271
RGBrgb(39, 66, 113)
HSLhsl(218, 49%, 30%)
HSVhsv(218, 65%, 44%)
CMYKcmyk(65.5%, 41.6%, 0%, 55.7%)
CIE-LABlab(28.17, 6.07, -30.22)
CIE-LCHlch(28.17, 30.83, 281.36°)
OKLaboklab(38.26% -0.014 -0.0859)
OKLCHoklch(38.26% 0.087 260.8)
XYZxyz(5.7645, 5.5195, 16.3812)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274271 #715627
analogous
#276771 #274271 #312771
triadic
#274271 #712742 #427127
tetradic
#274271 #712767 #715627 #277131
square
#274271 #712767 #715627 #277131
split-complementary
#274271 #713127 #677127
monochromatic
#080D17 #172744 #274271 #375D9E #507AC3

Accessibility & contrast

On white

9.98
#274271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274271
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274271#FFFFFF#000000##FFFFFF
##2742711.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4673
Deuteranopia (green-blind)
#233F70
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #274271;
/* rgb */ color: rgb(39, 66, 113);
/* oklch */ color: oklch(38.3% 0.087 260.8);
Tailwind
colors: {
  custom: {
    50: '#69769a',
    500: '#274271',
    950: '#000000',
  },
}
SCSS
$custom: #274271;
$custom-light: #69769a;
$custom-dark: #000000;
JSON
{
  "hex": "#274271",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 218.108,
    "s": 48.684,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3826,
    "c": 0.08707,
    "h": 260.8
  },
  "luminance": 0.0552
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #274271

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

Preview Lab → · Contrast checker → · Palette generator →

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