#274296#274296

#274296 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.142 H 266.6°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#274296
RGBrgb(39, 66, 150)
HSLhsl(225, 59%, 37%)
HSVhsv(225, 74%, 59%)
CMYKcmyk(74%, 56%, 0%, 41.2%)
CIE-LABlab(30.71, 20.39, -49.13)
CIE-LCHlch(30.71, 53.19, 292.54°)
OKLaboklab(41.02% -0.0084 -0.1415)
OKLCHoklch(41.02% 0.142 266.6)
XYZxyz(8.2880, 6.5289, 29.6717)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274296 #967B27
analogous
#277A96 #274296 #432796
triadic
#274296 #962742 #429627
tetradic
#274296 #96277A #967B27 #279643
square
#274296 #96277A #967B27 #279643
split-complementary
#274296 #964327 #7A9627
monochromatic
#0E1735 #1A2D65 #274296 #3457C7 #617ED6

Accessibility & contrast

On white

9.11
#274296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#274296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274296
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274296#FFFFFF#000000##FFFFFF
##2742961.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#004394
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #274296;
/* rgb */ color: rgb(39, 66, 150);
/* oklch */ color: oklch(41.0% 0.142 266.6);
Tailwind
colors: {
  custom: {
    50: '#7175b6',
    500: '#274296',
    950: '#000000',
  },
}
SCSS
$custom: #274296;
$custom-light: #7175b6;
$custom-dark: #000000;
JSON
{
  "hex": "#274296",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 150
  },
  "hsl": {
    "h": 225.405,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41017,
    "c": 0.14178,
    "h": 266.6
  },
  "luminance": 0.0653
}

Semantic roles & 50–950 ramp

primary
#274296
secondary
#BCA55D
accent
#BC46E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #274296

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

Preview Lab → · Contrast checker → · Palette generator →

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