#262E75#262E75

#262E75 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.121 H 273.3°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#262E75
RGBrgb(38, 46, 117)
HSLhsl(234, 51%, 30%)
HSVhsv(234, 68%, 46%)
CMYKcmyk(67.5%, 60.7%, 0%, 54.1%)
CIE-LABlab(22.48, 21.32, -41.91)
CIE-LCHlch(22.48, 47.02, 296.96°)
OKLaboklab(34.01% 0.0069 -0.1206)
OKLCHoklch(34.01% 0.121 273.3)
XYZxyz(4.9861, 3.6500, 17.2679)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E75 #756D26
analogous
#265575 #262E75 #452675
triadic
#262E75 #75262E #2E7526
tetradic
#262E75 #752655 #756D26 #267545
square
#262E75 #752655 #756D26 #267545
split-complementary
#262E75 #754526 #557526
monochromatic
#080A19 #171C47 #262E75 #3540A3 #4F5BC6

Accessibility & contrast

On white

12.14
#262E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#262E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E75
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E75#FFFFFF#000000##FFFFFF
##262E751.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #262e75;
/* rgb */ color: rgb(38, 46, 117);
/* oklch */ color: oklch(34.0% 0.121 273.3);
Tailwind
colors: {
  custom: {
    50: '#6a669d',
    500: '#262e75',
    950: '#000000',
  },
}
SCSS
$custom: #262e75;
$custom-light: #6a669d;
$custom-dark: #000000;
JSON
{
  "hex": "#262e75",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 117
  },
  "hsl": {
    "h": 233.924,
    "s": 50.968,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3401,
    "c": 0.12081,
    "h": 273.3
  },
  "luminance": 0.0365
}

Semantic roles & 50–950 ramp

primary
#262E75
secondary
#A79F4F
accent
#CC4DDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #262E75

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

Preview Lab → · Contrast checker → · Palette generator →

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