#2C3D94#2C3D94

#2C3D94 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.144 H 270.2°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#2C3D94
RGBrgb(44, 61, 148)
HSLhsl(230, 54%, 38%)
HSVhsv(230, 70%, 58%)
CMYKcmyk(70.3%, 58.8%, 0%, 42%)
CIE-LABlab(29.44, 23.73, -49.96)
CIE-LCHlch(29.44, 55.31, 295.41°)
OKLaboklab(40.08% 0.0005 -0.1439)
OKLCHoklch(40.08% 0.144 270.2)
XYZxyz(8.0509, 6.0103, 28.7470)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3D94 #94832C
analogous
#2C7194 #2C3D94 #4F2C94
triadic
#2C3D94 #942C3D #3D942C
tetradic
#2C3D94 #942C71 #94832C #2C944F
square
#2C3D94 #942C71 #94832C #2C944F
split-complementary
#2C3D94 #944F2C #71942C
monochromatic
#101636 #1E2A65 #2C3D94 #3A50C3 #687AD2

Accessibility & contrast

On white

9.54
#2C3D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2C3D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3D94
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3D94#FFFFFF#000000##FFFFFF
##2C3D941.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#004192
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c3d94;
/* rgb */ color: rgb(44, 61, 148);
/* oklch */ color: oklch(40.1% 0.144 270.2);
Tailwind
colors: {
  custom: {
    50: '#7372b4',
    500: '#2c3d94',
    950: '#000000',
  },
}
SCSS
$custom: #2c3d94;
$custom-light: #7372b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3d94",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 148
  },
  "hsl": {
    "h": 230.192,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40084,
    "c": 0.14394,
    "h": 270.2
  },
  "luminance": 0.06011
}

Semantic roles & 50–950 ramp

primary
#2C3D94
secondary
#B9AB63
accent
#C54ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3D94

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

Preview Lab → · Contrast checker → · Palette generator →

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