#234791#234791

#234791 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.5% C 0.129 H 262.6°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#234791
RGBrgb(35, 71, 145)
HSLhsl(220, 61%, 35%)
HSVhsv(220, 76%, 57%)
CMYKcmyk(75.9%, 51%, 0%, 43.1%)
CIE-LABlab(31.59, 14.48, -44.65)
CIE-LCHlch(31.59, 46.94, 287.96°)
OKLaboklab(41.52% -0.0166 -0.1283)
OKLCHoklch(41.52% 0.129 262.6)
XYZxyz(8.0554, 6.9072, 27.6913)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234791 #916D23
analogous
#237E91 #234791 #362391
triadic
#234791 #912347 #479123
tetradic
#234791 #91237E #916D23 #239136
square
#234791 #91237E #916D23 #239136
split-complementary
#234791 #913623 #7E9123
monochromatic
#0B172E #172F60 #234791 #2F5FC2 #5881D7

Accessibility & contrast

On white

8.82
#234791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#234791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234791
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234791#FFFFFF#000000##FFFFFF
##2347911.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5094
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #234791;
/* rgb */ color: rgb(35, 71, 145);
/* oklch */ color: oklch(41.5% 0.129 262.6);
Tailwind
colors: {
  custom: {
    50: '#6e79b2',
    500: '#234791',
    950: '#000000',
  },
}
SCSS
$custom: #234791;
$custom-light: #6e79b2;
$custom-dark: #000000;
JSON
{
  "hex": "#234791",
  "rgb": {
    "r": 35,
    "g": 71,
    "b": 145
  },
  "hsl": {
    "h": 220.364,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41523,
    "c": 0.12941,
    "h": 262.6
  },
  "luminance": 0.06908
}

Semantic roles & 50–950 ramp

primary
#234791
secondary
#BB9A55
accent
#B044E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #234791

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

Preview Lab → · Contrast checker → · Palette generator →

#234791 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva