#2634B1#2634B1

#2634B1 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.9% C 0.195 H 269.7°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#2634B1
RGBrgb(38, 52, 177)
HSLhsl(234, 65%, 42%)
HSVhsv(234, 79%, 69%)
CMYKcmyk(78.5%, 70.6%, 0%, 30.6%)
CIE-LABlab(29.52, 39.54, -67.37)
CIE-LCHlch(29.52, 78.12, 300.41°)
OKLaboklab(40.86% -0.0012 -0.1951)
OKLCHoklch(40.86% 0.195 269.7)
XYZxyz(9.9604, 6.0413, 42.2276)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2634B1 #B1A326
analogous
#2679B1 #2634B1 #5E26B1
triadic
#2634B1 #B12634 #34B126
tetradic
#2634B1 #B12679 #B1A326 #26B15E
square
#2634B1 #B12679 #B1A326 #26B15E
split-complementary
#2634B1 #B15E26 #79B126
monochromatic
#10164C #1B257F #2634B1 #3F4ED6 #717CE0

Accessibility & contrast

On white

9.51
#2634B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2634B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2634B1
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2634B1#FFFFFF#000000##FFFFFF
##2634B11.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#003FAF
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2634b1;
/* rgb */ color: rgb(38, 52, 177);
/* oklch */ color: oklch(40.9% 0.195 269.7);
Tailwind
colors: {
  custom: {
    50: '#796cca',
    500: '#2634b1',
    950: '#000000',
  },
}
SCSS
$custom: #2634b1;
$custom-light: #796cca;
$custom-dark: #000000;
JSON
{
  "hex": "#2634b1",
  "rgb": {
    "r": 38,
    "g": 52,
    "b": 177
  },
  "hsl": {
    "h": 233.957,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40857,
    "c": 0.19511,
    "h": 269.7
  },
  "luminance": 0.06042
}

Semantic roles & 50–950 ramp

primary
#2634B1
secondary
#C7BE6B
accent
#D740E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2634B1

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

Preview Lab → · Contrast checker → · Palette generator →

#2634B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva