#2638AF#2638AF

#2638AF is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.188 H 269.1°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#2638AF
RGBrgb(38, 56, 175)
HSLhsl(232, 64%, 42%)
HSVhsv(232, 78%, 69%)
CMYKcmyk(78.3%, 68%, 0%, 31.4%)
CIE-LABlab(30.24, 36.32, -64.99)
CIE-LCHlch(30.24, 74.45, 299.20°)
OKLaboklab(41.32% -0.0029 -0.1881)
OKLCHoklch(41.32% 0.188 269.1)
XYZxyz(9.9487, 6.3344, 41.2475)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2638AF #AF9D26
analogous
#267DAF #2638AF #5926AF
triadic
#2638AF #AF2638 #38AF26
tetradic
#2638AF #AF267D #AF9D26 #26AF59
square
#2638AF #AF267D #AF9D26 #26AF59
split-complementary
#2638AF #AF5926 #7DAF26
monochromatic
#10184A #1B287D #2638AF #3D51D5 #707EE0

Accessibility & contrast

On white

9.26
#2638AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2638AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2638AF
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2638AF#FFFFFF#000000##FFFFFF
##2638AF1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2638af;
/* rgb */ color: rgb(38, 56, 175);
/* oklch */ color: oklch(41.3% 0.188 269.1);
Tailwind
colors: {
  custom: {
    50: '#786fc8',
    500: '#2638af',
    950: '#000000',
  },
}
SCSS
$custom: #2638af;
$custom-light: #786fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2638af",
  "rgb": {
    "r": 38,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 232.117,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41323,
    "c": 0.18816,
    "h": 269.1
  },
  "luminance": 0.06336
}

Semantic roles & 50–950 ramp

primary
#2638AF
secondary
#C7BA6A
accent
#D140E7
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2638AF

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

Preview Lab → · Contrast checker → · Palette generator →

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