#2C3FA0#2C3FA0

#2C3FA0 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.158 H 269.7°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#2C3FA0
RGBrgb(44, 63, 160)
HSLhsl(230, 57%, 40%)
HSVhsv(230, 73%, 63%)
CMYKcmyk(72.5%, 60.6%, 0%, 37.3%)
CIE-LABlab(30.94, 26.89, -54.81)
CIE-LCHlch(30.94, 61.05, 296.13°)
OKLaboklab(41.51% -0.0009 -0.1582)
OKLCHoklch(41.51% 0.158 269.7)
XYZxyz(9.1592, 6.6276, 34.0474)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3FA0 #A08D2C
analogous
#2C79A0 #2C3FA0 #532CA0
triadic
#2C3FA0 #A02C3F #3FA02C
tetradic
#2C3FA0 #A02C79 #A08D2C #2CA053
square
#2C3FA0 #A02C79 #A08D2C #2CA053
split-complementary
#2C3FA0 #A0532C #79A02C
monochromatic
#121940 #1F2C70 #2C3FA0 #3F56CA #6F80D7

Accessibility & contrast

On white

9.03
#2C3FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2C3FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3FA0
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3FA0#FFFFFF#000000##FFFFFF
##2C3FA01.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#00449E
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c3fa0;
/* rgb */ color: rgb(44, 63, 160);
/* oklch */ color: oklch(41.5% 0.158 269.7);
Tailwind
colors: {
  custom: {
    50: '#7573bd',
    500: '#2c3fa0',
    950: '#000000',
  },
}
SCSS
$custom: #2c3fa0;
$custom-light: #7573bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3fa0",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 160
  },
  "hsl": {
    "h": 230.172,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.4151,
    "c": 0.15816,
    "h": 269.7
  },
  "luminance": 0.06629
}

Semantic roles & 50–950 ramp

primary
#2C3FA0
secondary
#BFB169
accent
#C748E0
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2C3FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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