#2C368D#2C368D

#2C368D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.143 H 272.6°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#2C368D
RGBrgb(44, 54, 141)
HSLhsl(234, 52%, 36%)
HSVhsv(234, 69%, 55%)
CMYKcmyk(68.8%, 61.7%, 0%, 44.7%)
CIE-LABlab(27.01, 25.83, -49.61)
CIE-LCHlch(27.01, 55.93, 297.51°)
OKLaboklab(38.1% 0.0065 -0.143)
OKLCHoklch(38.1% 0.143 272.6)
XYZxyz(7.1640, 5.0962, 25.8003)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C368D #8D832C
analogous
#2C678D #2C368D #532C8D
triadic
#2C368D #8D2C36 #368D2C
tetradic
#2C368D #8D2C67 #8D832C #2C8D53
square
#2C368D #8D2C67 #8D832C #2C8D53
split-complementary
#2C368D #8D532C #678D2C
monochromatic
#0F1230 #1D245E #2C368D #3B48BC #6570CF

Accessibility & contrast

On white

10.40
#2C368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2C368D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C368D
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C368D#FFFFFF#000000##FFFFFF
##2C368D1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c368d;
/* rgb */ color: rgb(44, 54, 141);
/* oklch */ color: oklch(38.1% 0.143 272.6);
Tailwind
colors: {
  custom: {
    50: '#726daf',
    500: '#2c368d',
    950: '#000000',
  },
}
SCSS
$custom: #2c368d;
$custom-light: #726daf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c368d",
  "rgb": {
    "r": 44,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 233.814,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38097,
    "c": 0.14314,
    "h": 272.6
  },
  "luminance": 0.05097
}

Semantic roles & 50–950 ramp

primary
#2C368D
secondary
#B5AC60
accent
#CD4CDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2C368D

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

Preview Lab → · Contrast checker → · Palette generator →

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