#2631AF#2631AF

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

Color values

HEX#2631AF
RGBrgb(38, 49, 175)
HSLhsl(235, 64%, 42%)
HSVhsv(235, 78%, 69%)
CMYKcmyk(78.3%, 72%, 0%, 31.4%)
CIE-LABlab(28.65, 40.66, -67.61)
CIE-LCHlch(28.65, 78.89, 301.02°)
OKLaboklab(40.17% 0.0004 -0.1958)
OKLCHoklch(40.17% 0.196 270.1)
XYZxyz(9.6329, 5.7028, 41.1422)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2631AF #AFA426
analogous
#2676AF #2631AF #5F26AF
triadic
#2631AF #AF2631 #31AF26
tetradic
#2631AF #AF2676 #AFA426 #26AF5F
square
#2631AF #AF2676 #AFA426 #26AF5F
split-complementary
#2631AF #AF5F26 #76AF26
monochromatic
#10154A #1B237D #2631AF #3D49D5 #7079E0

Accessibility & contrast

On white

9.81
#2631AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2631AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2631AF
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2631AF#FFFFFF#000000##FFFFFF
##2631AF1.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)
#004AB3
Deuteranopia (green-blind)
#003DAD
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2631af;
/* rgb */ color: rgb(38, 49, 175);
/* oklch */ color: oklch(40.2% 0.196 270.1);
Tailwind
colors: {
  custom: {
    50: '#786ac8',
    500: '#2631af',
    950: '#000000',
  },
}
SCSS
$custom: #2631af;
$custom-light: #786ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#2631af",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 235.182,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40173,
    "c": 0.19579,
    "h": 270.1
  },
  "luminance": 0.05704
}

Semantic roles & 50–950 ramp

primary
#2631AF
secondary
#C7BF6A
accent
#DA40E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2631AF

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

Preview Lab → · Contrast checker → · Palette generator →

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