#262D70#262D70

#262D70 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.4% C 0.115 H 273.9°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#262D70
RGBrgb(38, 45, 112)
HSLhsl(234, 49%, 29%)
HSVhsv(234, 66%, 44%)
CMYKcmyk(66.1%, 59.8%, 0%, 56.1%)
CIE-LABlab(21.79, 20.12, -39.82)
CIE-LCHlch(21.79, 44.62, 296.80°)
OKLaboklab(33.37% 0.0078 -0.1145)
OKLCHoklch(33.37% 0.115 273.9)
XYZxyz(4.6614, 3.4583, 15.7480)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D70 #706926
analogous
#265270 #262D70 #442670
triadic
#262D70 #70262D #2D7026
tetradic
#262D70 #702652 #706926 #267044
square
#262D70 #702652 #706926 #267044
split-complementary
#262D70 #704426 #527026
monochromatic
#080917 #161B42 #262D70 #363F9E #4E59C3

Accessibility & contrast

On white

12.41
#262D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262D70
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D70#FFFFFF#000000##FFFFFF
##262D701.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003872
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #262d70;
/* rgb */ color: rgb(38, 45, 112);
/* oklch */ color: oklch(33.4% 0.115 273.9);
Tailwind
colors: {
  custom: {
    50: '#69659a',
    500: '#262d70',
    950: '#000000',
  },
}
SCSS
$custom: #262d70;
$custom-light: #69659a;
$custom-dark: #000000;
JSON
{
  "hex": "#262d70",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 112
  },
  "hsl": {
    "h": 234.324,
    "s": 49.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33371,
    "c": 0.11474,
    "h": 273.9
  },
  "luminance": 0.03459
}

Semantic roles & 50–950 ramp

primary
#262D70
secondary
#A39B4F
accent
#CC4FD9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #262D70

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

Preview Lab → · Contrast checker → · Palette generator →

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