#274099#274099

#274099 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.149 H 267.4°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#274099
RGBrgb(39, 64, 153)
HSLhsl(227, 59%, 38%)
HSVhsv(227, 75%, 60%)
CMYKcmyk(74.5%, 58.2%, 0%, 40%)
CIE-LABlab(30.39, 22.90, -51.47)
CIE-LCHlch(30.39, 56.34, 293.99°)
OKLaboklab(40.85% -0.0067 -0.1484)
OKLCHoklch(40.85% 0.149 267.4)
XYZxyz(8.4179, 6.3971, 30.9219)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274099 #998027
analogous
#277999 #274099 #472799
triadic
#274099 #992740 #409927
tetradic
#274099 #992779 #998027 #279947
square
#274099 #992779 #998027 #279947
split-complementary
#274099 #994727 #799927
monochromatic
#0E1737 #1B2C68 #274099 #3354CA #637DD7

Accessibility & contrast

On white

9.21
#274099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#274099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274099
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274099#FFFFFF#000000##FFFFFF
##2740991.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #274099;
/* rgb */ color: rgb(39, 64, 153);
/* oklch */ color: oklch(40.9% 0.149 267.4);
Tailwind
colors: {
  custom: {
    50: '#7274b8',
    500: '#274099',
    950: '#000000',
  },
}
SCSS
$custom: #274099;
$custom-light: #7274b8;
$custom-dark: #000000;
JSON
{
  "hex": "#274099",
  "rgb": {
    "r": 39,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 226.842,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40853,
    "c": 0.1486,
    "h": 267.4
  },
  "luminance": 0.06398
}

Semantic roles & 50–950 ramp

primary
#274099
secondary
#BDA85F
accent
#C045E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #274099

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

Preview Lab → · Contrast checker → · Palette generator →

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