#263174#263174

#263174 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.5% C 0.115 H 271.9°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#263174
RGBrgb(38, 49, 116)
HSLhsl(232, 51%, 30%)
HSVhsv(232, 67%, 45%)
CMYKcmyk(67.2%, 57.8%, 0%, 54.5%)
CIE-LABlab(23.23, 18.84, -40.05)
CIE-LCHlch(23.23, 44.26, 295.20°)
OKLaboklab(34.55% 0.0039 -0.1151)
OKLCHoklch(34.55% 0.115 271.9)
XYZxyz(5.0490, 3.8692, 17.0004)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263174 #746926
analogous
#265874 #263174 #422674
triadic
#263174 #742631 #317426
tetradic
#263174 #742658 #746926 #267442
square
#263174 #742658 #746926 #267442
split-complementary
#263174 #744226 #587426
monochromatic
#080A18 #171E46 #263174 #3544A2 #4F60C5

Accessibility & contrast

On white

11.84
#263174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#263174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263174
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263174#FFFFFF#000000##FFFFFF
##2631741.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B76
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #263174;
/* rgb */ color: rgb(38, 49, 116);
/* oklch */ color: oklch(34.5% 0.115 271.9);
Tailwind
colors: {
  custom: {
    50: '#6a689d',
    500: '#263174',
    950: '#000000',
  },
}
SCSS
$custom: #263174;
$custom-light: #6a689d;
$custom-dark: #000000;
JSON
{
  "hex": "#263174",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 231.538,
    "s": 50.649,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34548,
    "c": 0.11516,
    "h": 271.9
  },
  "luminance": 0.0387
}

Semantic roles & 50–950 ramp

primary
#263174
secondary
#A69A4F
accent
#C64EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #263174

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

Preview Lab → · Contrast checker → · Palette generator →

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