#274199#274199

#274199 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.147 H 267.1°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#274199
RGBrgb(39, 65, 153)
HSLhsl(226, 59%, 38%)
HSVhsv(226, 75%, 60%)
CMYKcmyk(74.5%, 57.5%, 0%, 40%)
CIE-LABlab(30.67, 22.23, -51.03)
CIE-LCHlch(30.67, 55.66, 293.54°)
OKLaboklab(41.06% -0.0075 -0.1471)
OKLCHoklch(41.06% 0.147 267.1)
XYZxyz(8.4748, 6.5109, 30.9409)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274199 #997F27
analogous
#277A99 #274199 #462799
triadic
#274199 #992741 #419927
tetradic
#274199 #99277A #997F27 #279946
square
#274199 #99277A #997F27 #279946
split-complementary
#274199 #994627 #7A9927
monochromatic
#0E1837 #1B2C68 #274199 #3356CA #637ED7

Accessibility & contrast

On white

9.12
#274199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#274199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274199
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274199#FFFFFF#000000##FFFFFF
##2741991.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #274199;
/* rgb */ color: rgb(39, 65, 153);
/* oklch */ color: oklch(41.1% 0.147 267.1);
Tailwind
colors: {
  custom: {
    50: '#7275b8',
    500: '#274199',
    950: '#000000',
  },
}
SCSS
$custom: #274199;
$custom-light: #7275b8;
$custom-dark: #000000;
JSON
{
  "hex": "#274199",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 153
  },
  "hsl": {
    "h": 226.316,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41058,
    "c": 0.14731,
    "h": 267.1
  },
  "luminance": 0.06512
}

Semantic roles & 50–950 ramp

primary
#274199
secondary
#BDA75F
accent
#BF45E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #274199

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

Preview Lab → · Contrast checker → · Palette generator →

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