#2C368F#2C368F

#2C368F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.146 H 272.5°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#2C368F
RGBrgb(44, 54, 143)
HSLhsl(234, 53%, 37%)
HSVhsv(234, 69%, 56%)
CMYKcmyk(69.2%, 62.2%, 0%, 43.9%)
CIE-LABlab(27.18, 26.57, -50.57)
CIE-LCHlch(27.18, 57.13, 297.72°)
OKLaboklab(38.27% 0.0065 -0.1458)
OKLCHoklch(38.27% 0.146 272.5)
XYZxyz(7.3141, 5.1563, 26.5911)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C368F #8F852C
analogous
#2C688F #2C368F #542C8F
triadic
#2C368F #8F2C36 #368F2C
tetradic
#2C368F #8F2C68 #8F852C #2C8F54
square
#2C368F #8F2C68 #8F852C #2C8F54
split-complementary
#2C368F #8F542C #688F2C
monochromatic
#0F1331 #1E2460 #2C368F #3A48BE #6670D0

Accessibility & contrast

On white

10.34
#2C368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2C368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C368F
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C368F#FFFFFF#000000##FFFFFF
##2C368F1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c368f;
/* rgb */ color: rgb(44, 54, 143);
/* oklch */ color: oklch(38.3% 0.146 272.5);
Tailwind
colors: {
  custom: {
    50: '#726db1',
    500: '#2c368f',
    950: '#000000',
  },
}
SCSS
$custom: #2c368f;
$custom-light: #726db1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c368f",
  "rgb": {
    "r": 44,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 233.939,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38274,
    "c": 0.14595,
    "h": 272.5
  },
  "luminance": 0.05157
}

Semantic roles & 50–950 ramp

primary
#2C368F
secondary
#B6AE61
accent
#CE4BDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C368F

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

Preview Lab → · Contrast checker → · Palette generator →

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