#234790#234790

#234790 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.4% C 0.128 H 262.5°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#234790
RGBrgb(35, 71, 144)
HSLhsl(220, 61%, 35%)
HSVhsv(220, 76%, 56%)
CMYKcmyk(75.7%, 50.7%, 0%, 43.5%)
CIE-LABlab(31.52, 14.08, -44.16)
CIE-LCHlch(31.52, 46.35, 287.69°)
OKLaboklab(41.45% -0.0167 -0.1269)
OKLCHoklch(41.45% 0.128 262.5)
XYZxyz(7.9786, 6.8765, 27.2870)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234790 #906C23
analogous
#237E90 #234790 #352390
triadic
#234790 #902347 #479023
tetradic
#234790 #90237E #906C23 #239035
square
#234790 #90237E #906C23 #239035
split-complementary
#234790 #903523 #7E9023
monochromatic
#0B162E #172F5F #234790 #2F5FC1 #5781D6

Accessibility & contrast

On white

8.84
#234790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #234790
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234790#FFFFFF#000000##FFFFFF
##2347901.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4F93
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #234790;
/* rgb */ color: rgb(35, 71, 144);
/* oklch */ color: oklch(41.4% 0.128 262.5);
Tailwind
colors: {
  custom: {
    50: '#6e79b1',
    500: '#234790',
    950: '#000000',
  },
}
SCSS
$custom: #234790;
$custom-light: #6e79b1;
$custom-dark: #000000;
JSON
{
  "hex": "#234790",
  "rgb": {
    "r": 35,
    "g": 71,
    "b": 144
  },
  "hsl": {
    "h": 220.183,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41447,
    "c": 0.12798,
    "h": 262.5
  },
  "luminance": 0.06877
}

Semantic roles & 50–950 ramp

primary
#234790
secondary
#BA9954
accent
#AF44E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #234790

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

Preview Lab → · Contrast checker → · Palette generator →

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