#2C3E8F#2C3E8F

#2C3E8F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.135 H 269.8°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#2C3E8F
RGBrgb(44, 62, 143)
HSLhsl(229, 53%, 37%)
HSVhsv(229, 69%, 56%)
CMYKcmyk(69.2%, 56.6%, 0%, 43.9%)
CIE-LABlab(29.32, 21.17, -47.09)
CIE-LCHlch(29.32, 51.63, 294.21°)
OKLaboklab(39.87% -0.0005 -0.1355)
OKLCHoklch(39.87% 0.135 269.8)
XYZxyz(7.7176, 5.9632, 26.7256)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3E8F #8F7D2C
analogous
#2C708F #2C3E8F #4C2C8F
triadic
#2C3E8F #8F2C3E #3E8F2C
tetradic
#2C3E8F #8F2C70 #8F7D2C #2C8F4C
square
#2C3E8F #8F2C70 #8F7D2C #2C8F4C
split-complementary
#2C3E8F #8F4C2C #708F2C
monochromatic
#0F1531 #1E2A60 #2C3E8F #3A52BE #6679D0

Accessibility & contrast

On white

9.58
#2C3E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2C3E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3E8F
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3E8F#FFFFFF#000000##FFFFFF
##2C3E8F1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c3e8f;
/* rgb */ color: rgb(44, 62, 143);
/* oklch */ color: oklch(39.9% 0.135 269.8);
Tailwind
colors: {
  custom: {
    50: '#7273b0',
    500: '#2c3e8f',
    950: '#000000',
  },
}
SCSS
$custom: #2c3e8f;
$custom-light: #7273b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3e8f",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 143
  },
  "hsl": {
    "h": 229.091,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39871,
    "c": 0.13547,
    "h": 269.8
  },
  "luminance": 0.05964
}

Semantic roles & 50–950 ramp

primary
#2C3E8F
secondary
#B6A761
accent
#C24BDC
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C3E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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