#274295#274295

#274295 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.140 H 266.5°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#274295
RGBrgb(39, 66, 149)
HSLhsl(225, 59%, 37%)
HSVhsv(225, 74%, 58%)
CMYKcmyk(73.8%, 55.7%, 0%, 41.6%)
CIE-LABlab(30.63, 20.00, -48.65)
CIE-LCHlch(30.63, 52.60, 292.35°)
OKLaboklab(40.94% -0.0085 -0.1401)
OKLCHoklch(40.94% 0.14 266.5)
XYZxyz(8.2078, 6.4968, 29.2494)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274295 #957A27
analogous
#277995 #274295 #432795
triadic
#274295 #952742 #429527
tetradic
#274295 #952779 #957A27 #279543
square
#274295 #952779 #957A27 #279543
split-complementary
#274295 #954327 #799527
monochromatic
#0E1734 #1A2D64 #274295 #3457C6 #617DD6

Accessibility & contrast

On white

9.13
#274295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274295
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274295#FFFFFF#000000##FFFFFF
##2742951.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #274295;
/* rgb */ color: rgb(39, 66, 149);
/* oklch */ color: oklch(40.9% 0.140 266.5);
Tailwind
colors: {
  custom: {
    50: '#7175b5',
    500: '#274295',
    950: '#000000',
  },
}
SCSS
$custom: #274295;
$custom-light: #7175b5;
$custom-dark: #000000;
JSON
{
  "hex": "#274295",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 149
  },
  "hsl": {
    "h": 225.273,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40935,
    "c": 0.14036,
    "h": 266.5
  },
  "luminance": 0.06498
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #274295

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

Preview Lab → · Contrast checker → · Palette generator →

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