#2C3A90#2C3A90

#2C3A90 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.142 H 271.2°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#2C3A90
RGBrgb(44, 58, 144)
HSLhsl(232, 53%, 37%)
HSVhsv(232, 69%, 56%)
CMYKcmyk(69.4%, 59.7%, 0%, 43.5%)
CIE-LABlab(28.31, 24.26, -49.34)
CIE-LCHlch(28.31, 54.98, 296.18°)
OKLaboklab(39.14% 0.003 -0.1421)
OKLCHoklch(39.14% 0.142 271.2)
XYZxyz(7.5841, 5.5745, 27.0565)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3A90 #90822C
analogous
#2C6C90 #2C3A90 #502C90
triadic
#2C3A90 #902C3A #3A902C
tetradic
#2C3A90 #902C6C #90822C #2C9050
square
#2C3A90 #902C6C #90822C #2C9050
split-complementary
#2C3A90 #90502C #6C902C
monochromatic
#0F1432 #1E2761 #2C3A90 #3A4DBF #6675D0

Accessibility & contrast

On white

9.93
#2C3A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2C3A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3A90
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3A90#FFFFFF#000000##FFFFFF
##2C3A901.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#003E8E
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c3a90;
/* rgb */ color: rgb(44, 58, 144);
/* oklch */ color: oklch(39.1% 0.142 271.2);
Tailwind
colors: {
  custom: {
    50: '#7270b1',
    500: '#2c3a90',
    950: '#000000',
  },
}
SCSS
$custom: #2c3a90;
$custom-light: #7270b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3a90",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 144
  },
  "hsl": {
    "h": 231.6,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39143,
    "c": 0.14217,
    "h": 271.2
  },
  "luminance": 0.05575
}

Semantic roles & 50–950 ramp

primary
#2C3A90
secondary
#B7AB61
accent
#C84BDD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3A90

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

Preview Lab → · Contrast checker → · Palette generator →

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