#274381#274381

#274381 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.6% C 0.110 H 263.8°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#274381
RGBrgb(39, 67, 129)
HSLhsl(221, 54%, 33%)
HSVhsv(221, 70%, 51%)
CMYKcmyk(69.8%, 48.1%, 0%, 49.4%)
CIE-LABlab(29.49, 11.55, -38.16)
CIE-LCHlch(29.49, 39.87, 286.84°)
OKLaboklab(39.61% -0.0118 -0.1092)
OKLCHoklch(39.61% 0.11 263.8)
XYZxyz(6.8049, 6.0300, 21.5699)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274381 #816527
analogous
#277081 #274381 #382781
triadic
#274381 #812743 #438127
tetradic
#274381 #812770 #816527 #278138
square
#274381 #812770 #816527 #278138
split-complementary
#274381 #813827 #708127
monochromatic
#0B1223 #192B52 #274381 #355BB0 #567BCC

Accessibility & contrast

On white

9.52
#274381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#274381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274381
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274381#FFFFFF#000000##FFFFFF
##2743811.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234A83
Deuteranopia (green-blind)
#114280
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #274381;
/* rgb */ color: rgb(39, 67, 129);
/* oklch */ color: oklch(39.6% 0.110 263.8);
Tailwind
colors: {
  custom: {
    50: '#6c76a6',
    500: '#274381',
    950: '#000000',
  },
}
SCSS
$custom: #274381;
$custom-light: #6c76a6;
$custom-dark: #000000;
JSON
{
  "hex": "#274381",
  "rgb": {
    "r": 39,
    "g": 67,
    "b": 129
  },
  "hsl": {
    "h": 221.333,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39607,
    "c": 0.10988,
    "h": 263.8
  },
  "luminance": 0.06031
}

Semantic roles & 50–950 ramp

primary
#274381
secondary
#B19453
accent
#AF4BDD
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #274381

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

Preview Lab → · Contrast checker → · Palette generator →

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