#2C3DA2#2C3DA2

#2C3DA2 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.163 H 270.2°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#2C3DA2
RGBrgb(44, 61, 162)
HSLhsl(231, 57%, 40%)
HSVhsv(231, 73%, 64%)
CMYKcmyk(72.8%, 62.3%, 0%, 36.5%)
CIE-LABlab(30.59, 28.96, -56.59)
CIE-LCHlch(30.59, 63.57, 297.10°)
OKLaboklab(41.3% 0.0005 -0.1634)
OKLCHoklch(41.3% 0.163 270.2)
XYZxyz(9.2268, 6.4807, 34.9400)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3DA2 #A2912C
analogous
#2C78A2 #2C3DA2 #562CA2
triadic
#2C3DA2 #A22C3D #3DA22C
tetradic
#2C3DA2 #A22C78 #A2912C #2CA256
square
#2C3DA2 #A22C78 #A2912C #2CA256
split-complementary
#2C3DA2 #A2562C #78A22C
monochromatic
#121942 #1F2B72 #2C3DA2 #4054CB #707FD8

Accessibility & contrast

On white

9.14
#2C3DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2C3DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3DA2
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3DA2#FFFFFF#000000##FFFFFF
##2C3DA21.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c3da2;
/* rgb */ color: rgb(44, 61, 162);
/* oklch */ color: oklch(41.3% 0.163 270.2);
Tailwind
colors: {
  custom: {
    50: '#7672be',
    500: '#2c3da2',
    950: '#000000',
  },
}
SCSS
$custom: #2c3da2;
$custom-light: #7672be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3da2",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 162
  },
  "hsl": {
    "h": 231.356,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41303,
    "c": 0.1634,
    "h": 270.2
  },
  "luminance": 0.06482
}

Semantic roles & 50–950 ramp

primary
#2C3DA2
secondary
#BFB36A
accent
#CA47E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2C3DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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