#262C74#262C74

#262C74 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.5% C 0.122 H 274.1°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#262C74
RGBrgb(38, 44, 116)
HSLhsl(235, 51%, 30%)
HSVhsv(235, 67%, 45%)
CMYKcmyk(67.2%, 62.1%, 0%, 54.5%)
CIE-LABlab(21.85, 22.33, -42.30)
CIE-LCHlch(21.85, 47.83, 297.83°)
OKLaboklab(33.52% 0.0088 -0.1218)
OKLCHoklch(33.52% 0.122 274.1)
XYZxyz(4.8514, 3.4740, 16.9345)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C74 #746E26
analogous
#265374 #262C74 #472674
triadic
#262C74 #74262C #2C7426
tetradic
#262C74 #742653 #746E26 #267447
square
#262C74 #742653 #746E26 #267447
split-complementary
#262C74 #744726 #537426
monochromatic
#080918 #171B46 #262C74 #353DA2 #4F58C5

Accessibility & contrast

On white

12.39
#262C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#262C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C74
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C74#FFFFFF#000000##FFFFFF
##262C741.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#003173
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #262c74;
/* rgb */ color: rgb(38, 44, 116);
/* oklch */ color: oklch(33.5% 0.122 274.1);
Tailwind
colors: {
  custom: {
    50: '#6a659d',
    500: '#262c74',
    950: '#000000',
  },
}
SCSS
$custom: #262c74;
$custom-light: #6a659d;
$custom-dark: #000000;
JSON
{
  "hex": "#262c74",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 116
  },
  "hsl": {
    "h": 235.385,
    "s": 50.649,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33517,
    "c": 0.12208,
    "h": 274.1
  },
  "luminance": 0.03474
}

Semantic roles & 50–950 ramp

primary
#262C74
secondary
#A6A04F
accent
#CF4EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #262C74

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

Preview Lab → · Contrast checker → · Palette generator →

#262C74 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva