#0634CB#0634CB

#0634CB is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.7% C 0.232 H 264.2°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#0634CB
RGBrgb(6, 52, 203)
HSLhsl(226, 94%, 41%)
HSVhsv(226, 97%, 80%)
CMYKcmyk(97%, 74.4%, 0%, 20.4%)
CIE-LABlab(31.36, 47.25, -79.69)
CIE-LCHlch(31.36, 92.65, 300.66°)
OKLaboklab(42.74% -0.0235 -0.2313)
OKLCHoklch(42.74% 0.232 264.2)
XYZxyz(12.0788, 6.8049, 57.1652)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0634CB #CB9D06
analogous
#0696CB #0634CB #3B06CB
triadic
#0634CB #CB0634 #34CB06
tetradic
#0634CB #CB0696 #CB9D06 #06CB3B
square
#0634CB #CB0696 #CB9D06 #06CB3B
split-complementary
#0634CB #CB3B06 #96CB06
monochromatic
#021654 #042590 #0634CB #164BF8 #5279FA

Accessibility & contrast

On white

8.89
#0634CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#0634CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0634CB
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0634CB#FFFFFF#000000##FFFFFF
##0634CB1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CF
Deuteranopia (green-blind)
#0040C8
Tritanopia (blue-blind)
#00617D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0634cb;
/* rgb */ color: rgb(6, 52, 203);
/* oklch */ color: oklch(42.7% 0.232 264.2);
Tailwind
colors: {
  custom: {
    50: '#7a6cdc',
    500: '#0634cb',
    950: '#000000',
  },
}
SCSS
$custom: #0634cb;
$custom-light: #7a6cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#0634cb",
  "rgb": {
    "r": 6,
    "g": 52,
    "b": 203
  },
  "hsl": {
    "h": 225.99,
    "s": 94.258,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42737,
    "c": 0.23245,
    "h": 264.2
  },
  "luminance": 0.06806
}

Semantic roles & 50–950 ramp

primary
#0634CB
secondary
#DBBB51
accent
#CD29FF
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #0634CB

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

Preview Lab → · Contrast checker → · Palette generator →

#0634CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva