#2C3D90#2C3D90

#2C3D90 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.138 H 270.2°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#2C3D90
RGBrgb(44, 61, 144)
HSLhsl(230, 53%, 37%)
HSVhsv(230, 69%, 56%)
CMYKcmyk(69.4%, 57.6%, 0%, 43.5%)
CIE-LABlab(29.12, 22.23, -48.02)
CIE-LCHlch(29.12, 52.92, 294.84°)
OKLaboklab(39.75% 0.0004 -0.1382)
OKLCHoklch(39.75% 0.138 270.2)
XYZxyz(7.7398, 5.8858, 27.1083)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3D90 #907F2C
analogous
#2C6F90 #2C3D90 #4D2C90
triadic
#2C3D90 #902C3D #3D902C
tetradic
#2C3D90 #902C6F #907F2C #2C904D
square
#2C3D90 #902C6F #907F2C #2C904D
split-complementary
#2C3D90 #904D2C #6F902C
monochromatic
#0F1532 #1E2961 #2C3D90 #3A51BF #6678D0

Accessibility & contrast

On white

9.64
#2C3D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2C3D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3D90
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3D90#FFFFFF#000000##FFFFFF
##2C3D901.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3d90;
/* rgb */ color: rgb(44, 61, 144);
/* oklch */ color: oklch(39.7% 0.138 270.2);
Tailwind
colors: {
  custom: {
    50: '#7272b1',
    500: '#2c3d90',
    950: '#000000',
  },
}
SCSS
$custom: #2c3d90;
$custom-light: #7272b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3d90",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 144
  },
  "hsl": {
    "h": 229.8,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39748,
    "c": 0.13823,
    "h": 270.2
  },
  "luminance": 0.05887
}

Semantic roles & 50–950 ramp

primary
#2C3D90
secondary
#B7A861
accent
#C44BDD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3D90

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

Preview Lab → · Contrast checker → · Palette generator →

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