#2C3DA3#2C3DA3

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

Color values

HEX#2C3DA3
RGBrgb(44, 61, 163)
HSLhsl(231, 57%, 41%)
HSVhsv(231, 73%, 64%)
CMYKcmyk(73%, 62.6%, 0%, 36.1%)
CIE-LABlab(30.68, 29.33, -57.05)
CIE-LCHlch(30.68, 64.15, 297.21°)
OKLaboklab(41.39% 0.0005 -0.1648)
OKLCHoklch(41.39% 0.165 270.2)
XYZxyz(9.3161, 6.5163, 35.4100)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3DA3 #A3922C
analogous
#2C78A3 #2C3DA3 #572CA3
triadic
#2C3DA3 #A32C3D #3DA32C
tetradic
#2C3DA3 #A32C78 #A3922C #2CA357
square
#2C3DA3 #A32C78 #A3922C #2CA357
split-complementary
#2C3DA3 #A3572C #78A32C
monochromatic
#121943 #1F2B73 #2C3DA3 #4154CC #7180D9

Accessibility & contrast

On white

9.12
#2C3DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3DA3
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3DA3#FFFFFF#000000##FFFFFF
##2C3DA31.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0043A1
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c3da3;
/* rgb */ color: rgb(44, 61, 163);
/* oklch */ color: oklch(41.4% 0.165 270.2);
Tailwind
colors: {
  custom: {
    50: '#7672bf',
    500: '#2c3da3',
    950: '#000000',
  },
}
SCSS
$custom: #2c3da3;
$custom-light: #7672bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3da3",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 163
  },
  "hsl": {
    "h": 231.429,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41392,
    "c": 0.16476,
    "h": 270.2
  },
  "luminance": 0.06517
}

Semantic roles & 50–950 ramp

primary
#2C3DA3
secondary
#C0B46B
accent
#CB47E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2C3DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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