#2C3FA9#2C3FA9

#2C3FA9 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.3% C 0.170 H 269.6°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#2C3FA9
RGBrgb(44, 63, 169)
HSLhsl(231, 59%, 42%)
HSVhsv(231, 74%, 66%)
CMYKcmyk(74%, 62.7%, 0%, 33.7%)
CIE-LABlab(31.70, 30.24, -58.99)
CIE-LCHlch(31.70, 66.29, 297.14°)
OKLaboklab(42.31% -0.0011 -0.1704)
OKLCHoklch(42.31% 0.17 269.6)
XYZxyz(9.9752, 6.9540, 38.3450)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3FA9 #A9962C
analogous
#2C7EA9 #2C3FA9 #582CA9
triadic
#2C3FA9 #A92C3F #3FA92C
tetradic
#2C3FA9 #A92C7E #A9962C #2CA958
square
#2C3FA9 #A92C7E #A9962C #2CA958
split-complementary
#2C3FA9 #A9582C #7EA92C
monochromatic
#131B48 #1F2D78 #2C3FA9 #4459CE #7484DB

Accessibility & contrast

On white

8.78
#2C3FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2C3FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3FA9
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3FA9#FFFFFF#000000##FFFFFF
##2C3FA91.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AC
Deuteranopia (green-blind)
#0045A7
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c3fa9;
/* rgb */ color: rgb(44, 63, 169);
/* oklch */ color: oklch(42.3% 0.170 269.6);
Tailwind
colors: {
  custom: {
    50: '#7874c3',
    500: '#2c3fa9',
    950: '#000000',
  },
}
SCSS
$custom: #2c3fa9;
$custom-light: #7874c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3fa9",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 169
  },
  "hsl": {
    "h": 230.88,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42307,
    "c": 0.17042,
    "h": 269.6
  },
  "luminance": 0.06955
}

Semantic roles & 50–950 ramp

primary
#2C3FA9
secondary
#C3B66E
accent
#CA46E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2C3FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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