#234080#234080

#234080 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.6% C 0.114 H 263.6°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#234080
RGBrgb(35, 64, 128)
HSLhsl(221, 57%, 32%)
HSVhsv(221, 73%, 50%)
CMYKcmyk(72.7%, 50%, 0%, 49.8%)
CIE-LABlab(28.33, 12.55, -39.41)
CIE-LCHlch(28.33, 41.36, 287.67°)
OKLaboklab(38.65% -0.0126 -0.113)
OKLCHoklch(38.65% 0.114 263.6)
XYZxyz(6.4214, 5.5820, 21.1569)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234080 #806323
analogous
#236F80 #234080 #342380
triadic
#234080 #802340 #408023
tetradic
#234080 #80236F #806323 #238034
square
#234080 #80236F #806323 #238034
split-complementary
#234080 #803423 #6F8023
monochromatic
#091020 #162850 #234080 #3058B0 #4F77CF

Accessibility & contrast

On white

9.92
#234080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#234080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234080
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234080#FFFFFF#000000##FFFFFF
##2340801.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4782
Deuteranopia (green-blind)
#043F7F
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #234080;
/* rgb */ color: rgb(35, 64, 128);
/* oklch */ color: oklch(38.6% 0.114 263.6);
Tailwind
colors: {
  custom: {
    50: '#6a74a5',
    500: '#234080',
    950: '#000000',
  },
}
SCSS
$custom: #234080;
$custom-light: #6a74a5;
$custom-dark: #000000;
JSON
{
  "hex": "#234080",
  "rgb": {
    "r": 35,
    "g": 64,
    "b": 128
  },
  "hsl": {
    "h": 221.29,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38648,
    "c": 0.11373,
    "h": 263.6
  },
  "luminance": 0.05583
}

Semantic roles & 50–950 ramp

primary
#234080
secondary
#B2934D
accent
#B147E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #234080

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

Preview Lab → · Contrast checker → · Palette generator →

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