#234990#234990

#234990 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.9% C 0.125 H 261.5°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#234990
RGBrgb(35, 73, 144)
HSLhsl(219, 61%, 35%)
HSVhsv(219, 76%, 56%)
CMYKcmyk(75.7%, 49.3%, 0%, 43.5%)
CIE-LABlab(32.11, 12.72, -43.21)
CIE-LCHlch(32.11, 45.04, 286.41°)
OKLaboklab(41.9% -0.0185 -0.124)
OKLCHoklch(41.9% 0.125 261.5)
XYZxyz(8.1079, 7.1351, 27.3301)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234990 #906A23
analogous
#237F90 #234990 #342390
triadic
#234990 #902349 #499023
tetradic
#234990 #90237F #906A23 #239034
square
#234990 #90237F #906A23 #239034
split-complementary
#234990 #903423 #7F9023
monochromatic
#0B172E #17305F #234990 #2F62C1 #5783D6

Accessibility & contrast

On white

8.65
#234990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#234990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234990
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234990#FFFFFF#000000##FFFFFF
##2349901.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215193
Deuteranopia (green-blind)
#00478F
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #234990;
/* rgb */ color: rgb(35, 73, 144);
/* oklch */ color: oklch(41.9% 0.125 261.5);
Tailwind
colors: {
  custom: {
    50: '#6e7bb1',
    500: '#234990',
    950: '#000000',
  },
}
SCSS
$custom: #234990;
$custom-light: #6e7bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#234990",
  "rgb": {
    "r": 35,
    "g": 73,
    "b": 144
  },
  "hsl": {
    "h": 219.083,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41897,
    "c": 0.12542,
    "h": 261.5
  },
  "luminance": 0.07136
}

Semantic roles & 50–950 ramp

primary
#234990
secondary
#BA9754
accent
#AC44E4
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080911
muted
#7B7B80

Preview Lab

Preview with #234990

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

Preview Lab → · Contrast checker → · Palette generator →

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