#262F70#262F70

#262F70 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.8% C 0.112 H 273.0°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#262F70
RGBrgb(38, 47, 112)
HSLhsl(233, 49%, 29%)
HSVhsv(233, 66%, 44%)
CMYKcmyk(66.1%, 58%, 0%, 56.1%)
CIE-LABlab(22.35, 18.72, -38.91)
CIE-LCHlch(22.35, 43.18, 295.69°)
OKLaboklab(33.79% 0.0058 -0.1118)
OKLCHoklch(33.79% 0.112 273)
XYZxyz(4.7395, 3.6146, 15.7740)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F70 #706726
analogous
#265470 #262F70 #422670
triadic
#262F70 #70262F #2F7026
tetradic
#262F70 #702654 #706726 #267042
square
#262F70 #702654 #706726 #267042
split-complementary
#262F70 #704226 #547026
monochromatic
#080A17 #161C42 #262F70 #36429E #4E5CC3

Accessibility & contrast

On white

12.19
#262F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#262F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F70
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F70#FFFFFF#000000##FFFFFF
##262F701.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262f70;
/* rgb */ color: rgb(38, 47, 112);
/* oklch */ color: oklch(33.8% 0.112 273.0);
Tailwind
colors: {
  custom: {
    50: '#69679a',
    500: '#262f70',
    950: '#000000',
  },
}
SCSS
$custom: #262f70;
$custom-light: #69679a;
$custom-dark: #000000;
JSON
{
  "hex": "#262f70",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 112
  },
  "hsl": {
    "h": 232.703,
    "s": 49.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33789,
    "c": 0.11192,
    "h": 273
  },
  "luminance": 0.03615
}

Semantic roles & 50–950 ramp

primary
#262F70
secondary
#A3984F
accent
#C84FD9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #262F70

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

Preview Lab → · Contrast checker → · Palette generator →

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