#2C3C90#2C3C90

#2C3C90 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.140 H 270.5°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#2C3C90
RGBrgb(44, 60, 144)
HSLhsl(230, 53%, 37%)
HSVhsv(230, 69%, 56%)
CMYKcmyk(69.4%, 58.3%, 0%, 43.5%)
CIE-LABlab(28.85, 22.90, -48.46)
CIE-LCHlch(28.85, 53.60, 295.30°)
OKLaboklab(39.55% 0.0013 -0.1395)
OKLCHoklch(39.55% 0.14 270.5)
XYZxyz(7.6869, 5.7801, 27.0907)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3C90 #90802C
analogous
#2C6E90 #2C3C90 #4E2C90
triadic
#2C3C90 #902C3C #3C902C
tetradic
#2C3C90 #902C6E #90802C #2C904E
square
#2C3C90 #902C6E #90802C #2C904E
split-complementary
#2C3C90 #904E2C #6E902C
monochromatic
#0F1532 #1E2861 #2C3C90 #3A50BF #6677D0

Accessibility & contrast

On white

9.74
#2C3C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2C3C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3C90
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3C90#FFFFFF#000000##FFFFFF
##2C3C901.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c3c90;
/* rgb */ color: rgb(44, 60, 144);
/* oklch */ color: oklch(39.5% 0.140 270.5);
Tailwind
colors: {
  custom: {
    50: '#7271b1',
    500: '#2c3c90',
    950: '#000000',
  },
}
SCSS
$custom: #2c3c90;
$custom-light: #7271b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3c90",
  "rgb": {
    "r": 44,
    "g": 60,
    "b": 144
  },
  "hsl": {
    "h": 230.4,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39545,
    "c": 0.13955,
    "h": 270.5
  },
  "luminance": 0.05781
}

Semantic roles & 50–950 ramp

primary
#2C3C90
secondary
#B7A961
accent
#C54BDD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3C90

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

Preview Lab → · Contrast checker → · Palette generator →

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