#264287#264287

#264287 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.8% C 0.120 H 264.8°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#264287
RGBrgb(38, 66, 135)
HSLhsl(223, 56%, 34%)
HSVhsv(223, 72%, 53%)
CMYKcmyk(71.9%, 51.1%, 0%, 47.1%)
CIE-LABlab(29.56, 14.40, -41.78)
CIE-LCHlch(29.56, 44.19, 289.02°)
OKLaboklab(39.78% -0.0108 -0.1199)
OKLCHoklch(39.78% 0.12 264.8)
XYZxyz(7.1192, 6.0570, 23.7109)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264287 #876B26
analogous
#267387 #264287 #3B2687
triadic
#264287 #872642 #428726
tetradic
#264287 #872673 #876B26 #26873B
square
#264287 #872673 #876B26 #26873B
split-complementary
#264287 #873B26 #738726
monochromatic
#0B1327 #192B57 #264287 #3359B7 #587AD0

Accessibility & contrast

On white

9.50
#264287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#264287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264287
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264287#FFFFFF#000000##FFFFFF
##2642871.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4A8A
Deuteranopia (green-blind)
#004186
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #264287;
/* rgb */ color: rgb(38, 66, 135);
/* oklch */ color: oklch(39.8% 0.120 264.8);
Tailwind
colors: {
  custom: {
    50: '#6d75aa',
    500: '#264287',
    950: '#000000',
  },
}
SCSS
$custom: #264287;
$custom-light: #6d75aa;
$custom-dark: #000000;
JSON
{
  "hex": "#264287",
  "rgb": {
    "r": 38,
    "g": 66,
    "b": 135
  },
  "hsl": {
    "h": 222.68,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39778,
    "c": 0.12041,
    "h": 264.8
  },
  "luminance": 0.06058
}

Semantic roles & 50–950 ramp

primary
#264287
secondary
#B59954
accent
#B448DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #264287

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

Preview Lab → · Contrast checker → · Palette generator →

#264287 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva