#2C3DA0#2C3DA0

#2C3DA0 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.161 H 270.2°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#2C3DA0
RGBrgb(44, 61, 160)
HSLhsl(231, 57%, 40%)
HSVhsv(231, 73%, 63%)
CMYKcmyk(72.5%, 61.9%, 0%, 37.3%)
CIE-LABlab(30.42, 28.22, -55.66)
CIE-LCHlch(30.42, 62.40, 296.88°)
OKLaboklab(41.13% 0.0006 -0.1607)
OKLCHoklch(41.13% 0.161 270.2)
XYZxyz(9.0504, 6.4101, 34.0112)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3DA0 #A08F2C
analogous
#2C77A0 #2C3DA0 #552CA0
triadic
#2C3DA0 #A02C3D #3DA02C
tetradic
#2C3DA0 #A02C77 #A08F2C #2CA055
square
#2C3DA0 #A02C77 #A08F2C #2CA055
split-complementary
#2C3DA0 #A0552C #77A02C
monochromatic
#121840 #1F2B70 #2C3DA0 #3F53CA #6F7ED7

Accessibility & contrast

On white

9.20
#2C3DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2C3DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3DA0
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3DA0#FFFFFF#000000##FFFFFF
##2C3DA01.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c3da0;
/* rgb */ color: rgb(44, 61, 160);
/* oklch */ color: oklch(41.1% 0.161 270.2);
Tailwind
colors: {
  custom: {
    50: '#7672bd',
    500: '#2c3da0',
    950: '#000000',
  },
}
SCSS
$custom: #2c3da0;
$custom-light: #7672bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3da0",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 160
  },
  "hsl": {
    "h": 231.207,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.41125,
    "c": 0.16067,
    "h": 270.2
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

primary
#2C3DA0
secondary
#BFB269
accent
#CA48E0
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2C3DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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