#264387#264387

#264387 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.0% C 0.119 H 264.3°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#264387
RGBrgb(38, 67, 135)
HSLhsl(222, 56%, 34%)
HSVhsv(222, 72%, 53%)
CMYKcmyk(71.9%, 50.4%, 0%, 47.1%)
CIE-LABlab(29.85, 13.72, -41.31)
CIE-LCHlch(29.85, 43.53, 288.37°)
OKLaboklab(40% -0.0118 -0.1185)
OKLCHoklch(40% 0.119 264.3)
XYZxyz(7.1781, 6.1749, 23.7306)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264387 #876A26
analogous
#267487 #264387 #3A2687
triadic
#264387 #872643 #438726
tetradic
#264387 #872674 #876A26 #26873A
square
#264387 #872674 #876A26 #26873A
split-complementary
#264387 #873A26 #748726
monochromatic
#0B1427 #192B57 #264387 #335BB7 #587CD0

Accessibility & contrast

On white

9.40
#264387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#264387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264387
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264387#FFFFFF#000000##FFFFFF
##2643871.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4B89
Deuteranopia (green-blind)
#014286
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #264387;
/* rgb */ color: rgb(38, 67, 135);
/* oklch */ color: oklch(40.0% 0.119 264.3);
Tailwind
colors: {
  custom: {
    50: '#6d76aa',
    500: '#264387',
    950: '#000000',
  },
}
SCSS
$custom: #264387;
$custom-light: #6d76aa;
$custom-dark: #000000;
JSON
{
  "hex": "#264387",
  "rgb": {
    "r": 38,
    "g": 67,
    "b": 135
  },
  "hsl": {
    "h": 222.062,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40002,
    "c": 0.1191,
    "h": 264.3
  },
  "luminance": 0.06176
}

Semantic roles & 50–950 ramp

primary
#264387
secondary
#B59854
accent
#B248DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #264387

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

Preview Lab → · Contrast checker → · Palette generator →

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