#262C73#262C73

#262C73 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.4% C 0.121 H 274.2°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#262C73
RGBrgb(38, 44, 115)
HSLhsl(235, 50%, 30%)
HSVhsv(235, 67%, 45%)
CMYKcmyk(67%, 61.7%, 0%, 54.9%)
CIE-LABlab(21.77, 21.95, -41.79)
CIE-LCHlch(21.77, 47.21, 297.71°)
OKLaboklab(33.43% 0.0088 -0.1203)
OKLCHoklch(33.43% 0.121 274.2)
XYZxyz(4.7935, 3.4508, 16.6298)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C73 #736D26
analogous
#265273 #262C73 #472673
triadic
#262C73 #73262C #2C7326
tetradic
#262C73 #732652 #736D26 #267347
square
#262C73 #732652 #736D26 #267347
split-complementary
#262C73 #734726 #527326
monochromatic
#080917 #171A45 #262C73 #353EA1 #4F58C5

Accessibility & contrast

On white

12.42
#262C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262C73
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C73#FFFFFF#000000##FFFFFF
##262C731.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #262c73;
/* rgb */ color: rgb(38, 44, 115);
/* oklch */ color: oklch(33.4% 0.121 274.2);
Tailwind
colors: {
  custom: {
    50: '#6a659c',
    500: '#262c73',
    950: '#000000',
  },
}
SCSS
$custom: #262c73;
$custom-light: #6a659c;
$custom-dark: #000000;
JSON
{
  "hex": "#262c73",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 235.325,
    "s": 50.327,
    "l": 30
  },
  "oklch": {
    "l": 0.33428,
    "c": 0.1206,
    "h": 274.2
  },
  "luminance": 0.03451
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #262C73

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

Preview Lab → · Contrast checker → · Palette generator →

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