#2C3FA8#2C3FA8

#2C3FA8 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.2% C 0.169 H 269.6°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#2C3FA8
RGBrgb(44, 63, 168)
HSLhsl(231, 58%, 42%)
HSVhsv(231, 74%, 66%)
CMYKcmyk(73.8%, 62.5%, 0%, 34.1%)
CIE-LABlab(31.62, 29.87, -58.53)
CIE-LCHlch(31.62, 65.71, 297.03°)
OKLaboklab(42.22% -0.001 -0.1691)
OKLCHoklch(42.22% 0.169 269.6)
XYZxyz(9.8817, 6.9166, 37.8525)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3FA8 #A8952C
analogous
#2C7DA8 #2C3FA8 #572CA8
triadic
#2C3FA8 #A82C3F #3FA82C
tetradic
#2C3FA8 #A82C7D #A8952C #2CA857
square
#2C3FA8 #A82C7D #A8952C #2CA857
split-complementary
#2C3FA8 #A8572C #7DA82C
monochromatic
#131B47 #1F2D78 #2C3FA8 #4359CE #7484DB

Accessibility & contrast

On white

8.81
#2C3FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2C3FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3FA8
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3FA8#FFFFFF#000000##FFFFFF
##2C3FA81.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AB
Deuteranopia (green-blind)
#0045A6
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c3fa8;
/* rgb */ color: rgb(44, 63, 168);
/* oklch */ color: oklch(42.2% 0.169 269.6);
Tailwind
colors: {
  custom: {
    50: '#7774c3',
    500: '#2c3fa8',
    950: '#000000',
  },
}
SCSS
$custom: #2c3fa8;
$custom-light: #7774c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3fa8",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 230.806,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42217,
    "c": 0.16908,
    "h": 269.6
  },
  "luminance": 0.06918
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C3FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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