#262C70#262C70

#262C70 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.2% C 0.116 H 274.4°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#262C70
RGBrgb(38, 44, 112)
HSLhsl(235, 49%, 29%)
HSVhsv(235, 66%, 44%)
CMYKcmyk(66.1%, 60.7%, 0%, 56.1%)
CIE-LABlab(21.52, 20.82, -40.27)
CIE-LCHlch(21.52, 45.33, 297.33°)
OKLaboklab(33.17% 0.0088 -0.1158)
OKLCHoklch(33.17% 0.116 274.4)
XYZxyz(4.6237, 3.3829, 15.7354)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C70 #706A26
analogous
#265170 #262C70 #452670
triadic
#262C70 #70262C #2C7026
tetradic
#262C70 #702651 #706A26 #267045
square
#262C70 #702651 #706A26 #267045
split-complementary
#262C70 #704526 #517026
monochromatic
#080917 #161A42 #262C70 #363E9E #4E57C3

Accessibility & contrast

On white

12.53
#262C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#262C70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C70
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C70#FFFFFF#000000##FFFFFF
##262C701.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#00306F
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #262c70;
/* rgb */ color: rgb(38, 44, 112);
/* oklch */ color: oklch(33.2% 0.116 274.4);
Tailwind
colors: {
  custom: {
    50: '#69659a',
    500: '#262c70',
    950: '#000000',
  },
}
SCSS
$custom: #262c70;
$custom-light: #69659a;
$custom-dark: #000000;
JSON
{
  "hex": "#262c70",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 112
  },
  "hsl": {
    "h": 235.135,
    "s": 49.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33165,
    "c": 0.11613,
    "h": 274.4
  },
  "luminance": 0.03383
}

Semantic roles & 50–950 ramp

primary
#262C70
secondary
#A39C4F
accent
#CE4FD9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #262C70

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

Preview Lab → · Contrast checker → · Palette generator →

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