#2C4293#2C4293

#2C4293 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.0% C 0.136 H 268.3°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#2C4293
RGBrgb(44, 66, 147)
HSLhsl(227, 54%, 37%)
HSVhsv(227, 70%, 58%)
CMYKcmyk(70.1%, 55.1%, 0%, 42.4%)
CIE-LABlab(30.73, 19.97, -47.25)
CIE-LCHlch(30.73, 51.30, 292.91°)
OKLaboklab(41.03% -0.0039 -0.1359)
OKLCHoklch(41.03% 0.136 268.3)
XYZxyz(8.2516, 6.5377, 28.4251)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4293 #937D2C
analogous
#2C7693 #2C4293 #492C93
triadic
#2C4293 #932C42 #42932C
tetradic
#2C4293 #932C76 #937D2C #2C9349
square
#2C4293 #932C76 #937D2C #2C9349
split-complementary
#2C4293 #93492C #76932C
monochromatic
#101835 #1E2D64 #2C4293 #3A57C2 #687ED2

Accessibility & contrast

On white

9.10
#2C4293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2C4293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4293
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4293#FFFFFF#000000##FFFFFF
##2C42931.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054D96
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c4293;
/* rgb */ color: rgb(44, 66, 147);
/* oklch */ color: oklch(41.0% 0.136 268.3);
Tailwind
colors: {
  custom: {
    50: '#7276b3',
    500: '#2c4293',
    950: '#000000',
  },
}
SCSS
$custom: #2c4293;
$custom-light: #7276b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4293",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 147
  },
  "hsl": {
    "h": 227.184,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41028,
    "c": 0.13596,
    "h": 268.3
  },
  "luminance": 0.06538
}

Semantic roles & 50–950 ramp

primary
#2C4293
secondary
#B8A663
accent
#BE4ADD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4293

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

Preview Lab → · Contrast checker → · Palette generator →

#2C4293 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva