#2630AF#2630AF

#2630AF is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.197 H 270.2°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#2630AF
RGBrgb(38, 48, 175)
HSLhsl(236, 64%, 42%)
HSVhsv(236, 78%, 69%)
CMYKcmyk(78.3%, 72.6%, 0%, 31.4%)
CIE-LABlab(28.43, 41.26, -67.97)
CIE-LCHlch(28.43, 79.51, 301.26°)
OKLaboklab(40.02% 0.0009 -0.1968)
OKLCHoklch(40.02% 0.197 270.2)
XYZxyz(9.5915, 5.6200, 41.1284)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2630AF #AFA526
analogous
#2675AF #2630AF #6026AF
triadic
#2630AF #AF2630 #30AF26
tetradic
#2630AF #AF2675 #AFA526 #26AF60
square
#2630AF #AF2675 #AFA526 #26AF60
split-complementary
#2630AF #AF6026 #75AF26
monochromatic
#10144A #1B227D #2630AF #3D48D5 #7078E0

Accessibility & contrast

On white

9.89
#2630AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2630AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2630AF
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2630AF#FFFFFF#000000##FFFFFF
##2630AF1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#003CAD
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2630af;
/* rgb */ color: rgb(38, 48, 175);
/* oklch */ color: oklch(40.0% 0.197 270.2);
Tailwind
colors: {
  custom: {
    50: '#7869c8',
    500: '#2630af',
    950: '#000000',
  },
}
SCSS
$custom: #2630af;
$custom-light: #7869c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2630af",
  "rgb": {
    "r": 38,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 235.62,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40017,
    "c": 0.19683,
    "h": 270.2
  },
  "luminance": 0.05621
}

Semantic roles & 50–950 ramp

primary
#2630AF
secondary
#C7C06A
accent
#DB40E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2630AF

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

Preview Lab → · Contrast checker → · Palette generator →

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