#2C3E90#2C3E90

#2C3E90 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.137 H 269.8°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#2C3E90
RGBrgb(44, 62, 144)
HSLhsl(229, 53%, 37%)
HSVhsv(229, 69%, 56%)
CMYKcmyk(69.4%, 56.9%, 0%, 43.5%)
CIE-LABlab(29.40, 21.55, -47.58)
CIE-LCHlch(29.40, 52.23, 294.37°)
OKLaboklab(39.95% -0.0005 -0.1369)
OKLCHoklch(39.95% 0.137 269.8)
XYZxyz(7.7937, 5.9936, 27.1263)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3E90 #907E2C
analogous
#2C7090 #2C3E90 #4C2C90
triadic
#2C3E90 #902C3E #3E902C
tetradic
#2C3E90 #902C70 #907E2C #2C904C
square
#2C3E90 #902C70 #907E2C #2C904C
split-complementary
#2C3E90 #904C2C #70902C
monochromatic
#0F1632 #1E2A61 #2C3E90 #3A52BF #6679D0

Accessibility & contrast

On white

9.55
#2C3E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2C3E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3E90
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3E90#FFFFFF#000000##FFFFFF
##2C3E901.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c3e90;
/* rgb */ color: rgb(44, 62, 144);
/* oklch */ color: oklch(40.0% 0.137 269.8);
Tailwind
colors: {
  custom: {
    50: '#7273b1',
    500: '#2c3e90',
    950: '#000000',
  },
}
SCSS
$custom: #2c3e90;
$custom-light: #7273b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3e90",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 144
  },
  "hsl": {
    "h": 229.2,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39953,
    "c": 0.13691,
    "h": 269.8
  },
  "luminance": 0.05994
}

Semantic roles & 50–950 ramp

primary
#2C3E90
secondary
#B7A761
accent
#C24BDD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C3E90

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

Preview Lab → · Contrast checker → · Palette generator →

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