#264181#264181

#264181 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.1% C 0.113 H 264.5°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#264181
RGBrgb(38, 65, 129)
HSLhsl(222, 54%, 33%)
HSVhsv(222, 71%, 51%)
CMYKcmyk(70.5%, 49.6%, 0%, 49.4%)
CIE-LABlab(28.84, 12.75, -39.20)
CIE-LCHlch(28.84, 41.22, 288.02°)
OKLaboklab(39.1% -0.0107 -0.1123)
OKLCHoklch(39.1% 0.113 264.5)
XYZxyz(6.6507, 5.7770, 21.5292)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264181 #816626
analogous
#266E81 #264181 #392681
triadic
#264181 #812641 #418126
tetradic
#264181 #81266E #816626 #268139
square
#264181 #81266E #816626 #268139
split-complementary
#264181 #813926 #6E8126
monochromatic
#0A1122 #182952 #264181 #3459B0 #5578CD

Accessibility & contrast

On white

9.74
#264181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#264181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264181
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264181#FFFFFF#000000##FFFFFF
##2641811.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4883
Deuteranopia (green-blind)
#084080
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #264181;
/* rgb */ color: rgb(38, 65, 129);
/* oklch */ color: oklch(39.1% 0.113 264.5);
Tailwind
colors: {
  custom: {
    50: '#6c75a6',
    500: '#264181',
    950: '#000000',
  },
}
SCSS
$custom: #264181;
$custom-light: #6c75a6;
$custom-dark: #000000;
JSON
{
  "hex": "#264181",
  "rgb": {
    "r": 38,
    "g": 65,
    "b": 129
  },
  "hsl": {
    "h": 222.198,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.391,
    "c": 0.11286,
    "h": 264.5
  },
  "luminance": 0.05778
}

Semantic roles & 50–950 ramp

primary
#264181
secondary
#B19551
accent
#B24ADE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #264181

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

Preview Lab → · Contrast checker → · Palette generator →

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