#274292#274292

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

Color values

HEX#274292
RGBrgb(39, 66, 146)
HSLhsl(225, 58%, 36%)
HSVhsv(225, 73%, 57%)
CMYKcmyk(73.3%, 54.8%, 0%, 42.7%)
CIE-LABlab(30.41, 18.84, -47.18)
CIE-LCHlch(30.41, 50.80, 291.77°)
OKLaboklab(40.69% -0.0088 -0.1358)
OKLCHoklch(40.69% 0.136 266.3)
XYZxyz(7.9714, 6.4023, 28.0042)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274292 #927727
analogous
#277892 #274292 #422792
triadic
#274292 #922742 #429227
tetradic
#274292 #922778 #927727 #279242
square
#274292 #922778 #927727 #279242
split-complementary
#274292 #924227 #789227
monochromatic
#0D1631 #1A2C62 #274292 #3458C2 #5F7DD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##274292#FFFFFF#000000##FFFFFF
##2742921.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)
#054D95
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #274292;
/* rgb */ color: rgb(39, 66, 146);
/* oklch */ color: oklch(40.7% 0.136 266.3);
Tailwind
colors: {
  custom: {
    50: '#7075b3',
    500: '#274292',
    950: '#000000',
  },
}
SCSS
$custom: #274292;
$custom-light: #7075b3;
$custom-dark: #000000;
JSON
{
  "hex": "#274292",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 146
  },
  "hsl": {
    "h": 224.86,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40691,
    "c": 0.13607,
    "h": 266.3
  },
  "luminance": 0.06403
}

Semantic roles & 50–950 ramp

primary
#274292
secondary
#BAA25B
accent
#BA47E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #274292

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

Preview Lab → · Contrast checker → · Palette generator →

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