#262E70#262E70

#262E70 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.6% C 0.113 H 273.4°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#262E70
RGBrgb(38, 46, 112)
HSLhsl(234, 49%, 29%)
HSVhsv(234, 66%, 44%)
CMYKcmyk(66.1%, 58.9%, 0%, 56.1%)
CIE-LABlab(22.07, 19.42, -39.37)
CIE-LCHlch(22.07, 43.90, 296.25°)
OKLaboklab(33.58% 0.0068 -0.1131)
OKLCHoklch(33.58% 0.113 273.4)
XYZxyz(4.7000, 3.5355, 15.7608)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E70 #706826
analogous
#265370 #262E70 #432670
triadic
#262E70 #70262E #2E7026
tetradic
#262E70 #702653 #706826 #267043
square
#262E70 #702653 #706826 #267043
split-complementary
#262E70 #704326 #537026
monochromatic
#080917 #161B42 #262E70 #36419E #4E5AC3

Accessibility & contrast

On white

12.30
#262E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#262E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E70
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E70#FFFFFF#000000##FFFFFF
##262E701.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003872
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #262e70;
/* rgb */ color: rgb(38, 46, 112);
/* oklch */ color: oklch(33.6% 0.113 273.4);
Tailwind
colors: {
  custom: {
    50: '#69669a',
    500: '#262e70',
    950: '#000000',
  },
}
SCSS
$custom: #262e70;
$custom-light: #69669a;
$custom-dark: #000000;
JSON
{
  "hex": "#262e70",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 233.514,
    "s": 49.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33579,
    "c": 0.11333,
    "h": 273.4
  },
  "luminance": 0.03536
}

Semantic roles & 50–950 ramp

primary
#262E70
secondary
#A39A4F
accent
#CA4FD9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #262E70

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

Preview Lab → · Contrast checker → · Palette generator →

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