#262C75#262C75

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

Color values

HEX#262C75
RGBrgb(38, 44, 117)
HSLhsl(235, 51%, 30%)
HSVhsv(235, 68%, 46%)
CMYKcmyk(67.5%, 62.4%, 0%, 54.1%)
CIE-LABlab(21.93, 22.70, -42.80)
CIE-LCHlch(21.93, 48.45, 297.94°)
OKLaboklab(33.61% 0.0088 -0.1232)
OKLCHoklch(33.61% 0.124 274.1)
XYZxyz(4.9098, 3.4974, 17.2425)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C75 #756F26
analogous
#265375 #262C75 #472675
triadic
#262C75 #75262C #2C7526
tetradic
#262C75 #752653 #756F26 #267547
square
#262C75 #752653 #756F26 #267547
split-complementary
#262C75 #754726 #537526
monochromatic
#080919 #171B47 #262C75 #353DA3 #4F58C6

Accessibility & contrast

On white

12.36
#262C75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#262C75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C75
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C75#FFFFFF#000000##FFFFFF
##262C751.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#003174
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #262c75;
/* rgb */ color: rgb(38, 44, 117);
/* oklch */ color: oklch(33.6% 0.124 274.1);
Tailwind
colors: {
  custom: {
    50: '#6b659d',
    500: '#262c75',
    950: '#000000',
  },
}
SCSS
$custom: #262c75;
$custom-light: #6b659d;
$custom-dark: #000000;
JSON
{
  "hex": "#262c75",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 117
  },
  "hsl": {
    "h": 235.443,
    "s": 50.968,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33607,
    "c": 0.12354,
    "h": 274.1
  },
  "luminance": 0.03498
}

Semantic roles & 50–950 ramp

primary
#262C75
secondary
#A7A14F
accent
#D04DDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #262C75

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

Preview Lab → · Contrast checker → · Palette generator →

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