#2C3E9F#2C3E9F

#2C3E9F is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.158 H 269.9°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#2C3E9F
RGBrgb(44, 62, 159)
HSLhsl(231, 57%, 40%)
HSVhsv(231, 72%, 62%)
CMYKcmyk(72.3%, 61%, 0%, 37.6%)
CIE-LABlab(30.60, 27.18, -54.77)
CIE-LCHlch(30.60, 61.14, 296.39°)
OKLaboklab(41.23% -0.0002 -0.158)
OKLCHoklch(41.23% 0.158 269.9)
XYZxyz(9.0172, 6.4830, 33.5703)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3E9F #9F8D2C
analogous
#2C779F #2C3E9F #542C9F
triadic
#2C3E9F #9F2C3E #3E9F2C
tetradic
#2C3E9F #9F2C77 #9F8D2C #2C9F54
square
#2C3E9F #9F2C77 #9F8D2C #2C9F54
split-complementary
#2C3E9F #9F542C #779F2C
monochromatic
#11193F #1F2B6F #2C3E9F #3E54CA #6E7FD7

Accessibility & contrast

On white

9.14
#2C3E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3E9F
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3E9F#FFFFFF#000000##FFFFFF
##2C3E9F1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c3e9f;
/* rgb */ color: rgb(44, 62, 159);
/* oklch */ color: oklch(41.2% 0.158 269.9);
Tailwind
colors: {
  custom: {
    50: '#7573bc',
    500: '#2c3e9f',
    950: '#000000',
  },
}
SCSS
$custom: #2c3e9f;
$custom-light: #7573bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3e9f",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 159
  },
  "hsl": {
    "h": 230.609,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41228,
    "c": 0.15804,
    "h": 269.9
  },
  "luminance": 0.06484
}

Semantic roles & 50–950 ramp

primary
#2C3E9F
secondary
#BEB169
accent
#C848E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2C3E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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