#2C367E#2C367E

#2C367E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.8% C 0.121 H 273.0°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#2C367E
RGBrgb(44, 54, 126)
HSLhsl(233, 48%, 33%)
HSVhsv(233, 65%, 49%)
CMYKcmyk(65.1%, 57.1%, 0%, 50.6%)
CIE-LABlab(25.80, 20.25, -42.21)
CIE-LCHlch(25.80, 46.82, 295.63°)
OKLaboklab(36.82% 0.0063 -0.1212)
OKLCHoklch(36.82% 0.121 273)
XYZxyz(6.1225, 4.6797, 20.3152)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C367E #7E742C
analogous
#2C5F7E #2C367E #4B2C7E
triadic
#2C367E #7E2C36 #367E2C
tetradic
#2C367E #7E2C5F #7E742C #2C7E4B
square
#2C367E #7E2C5F #7E742C #2C7E4B
split-complementary
#2C367E #7E4B2C #5F7E2C
monochromatic
#0C0F23 #1C2351 #2C367E #3C49AB #5E6BC7

Accessibility & contrast

On white

10.85
#2C367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2C367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C367E
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C367E#FFFFFF#000000##FFFFFF
##2C367E1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004180
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c367e;
/* rgb */ color: rgb(44, 54, 126);
/* oklch */ color: oklch(36.8% 0.121 273.0);
Tailwind
colors: {
  custom: {
    50: '#6f6ca4',
    500: '#2c367e',
    950: '#000000',
  },
}
SCSS
$custom: #2c367e;
$custom-light: #6f6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c367e",
  "rgb": {
    "r": 44,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 232.683,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36821,
    "c": 0.12139,
    "h": 273
  },
  "luminance": 0.0468
}

Semantic roles & 50–950 ramp

primary
#2C367E
secondary
#ADA359
accent
#C750D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2C367E

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

Preview Lab → · Contrast checker → · Palette generator →

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