#2630B1#2630B1

#2630B1 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.199 H 270.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#2630B1
RGBrgb(38, 48, 177)
HSLhsl(236, 65%, 42%)
HSVhsv(236, 79%, 69%)
CMYKcmyk(78.5%, 72.9%, 0%, 30.6%)
CIE-LABlab(28.64, 41.96, -68.82)
CIE-LCHlch(28.64, 80.60, 301.37°)
OKLaboklab(40.23% 0.0006 -0.1993)
OKLCHoklch(40.23% 0.199 270.2)
XYZxyz(9.7894, 5.6992, 42.1706)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2630B1 #B1A726
analogous
#2676B1 #2630B1 #6126B1
triadic
#2630B1 #B12630 #30B126
tetradic
#2630B1 #B12676 #B1A726 #26B161
square
#2630B1 #B12676 #B1A726 #26B161
split-complementary
#2630B1 #B16126 #76B126
monochromatic
#10154C #1B227F #2630B1 #3F49D6 #7179E0

Accessibility & contrast

On white

9.81
#2630B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2630B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2630B1
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2630B1#FFFFFF#000000##FFFFFF
##2630B11.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#003DAF
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2630b1;
/* rgb */ color: rgb(38, 48, 177);
/* oklch */ color: oklch(40.2% 0.199 270.2);
Tailwind
colors: {
  custom: {
    50: '#7969ca',
    500: '#2630b1',
    950: '#000000',
  },
}
SCSS
$custom: #2630b1;
$custom-light: #7969ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2630b1",
  "rgb": {
    "r": 38,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 235.683,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40228,
    "c": 0.19931,
    "h": 270.2
  },
  "luminance": 0.057
}

Semantic roles & 50–950 ramp

primary
#2630B1
secondary
#C7C16B
accent
#DC40E8
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2630B1

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

Preview Lab → · Contrast checker → · Palette generator →

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