#234070#234070

#234070 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.5% C 0.090 H 259.9°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#234070
RGBrgb(35, 64, 112)
HSLhsl(217, 52%, 29%)
HSVhsv(217, 69%, 44%)
CMYKcmyk(68.8%, 42.9%, 0%, 56.1%)
CIE-LABlab(27.28, 6.26, -31.01)
CIE-LCHlch(27.28, 31.64, 281.42°)
OKLaboklab(37.5% -0.0157 -0.0884)
OKLCHoklch(37.5% 0.09 259.9)
XYZxyz(5.4501, 5.1934, 16.0413)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234070 #705323
analogous
#236770 #234070 #2D2370
triadic
#234070 #702340 #407023
tetradic
#234070 #702367 #705323 #23702D
square
#234070 #702367 #705323 #23702D
split-complementary
#234070 #702D23 #677023
monochromatic
#070D17 #142541 #234070 #325B9F #4877C6

Accessibility & contrast

On white

10.30
#234070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#234070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234070
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234070#FFFFFF#000000##FFFFFF
##2340701.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4472
Deuteranopia (green-blind)
#1F3D6F
Tritanopia (blue-blind)
#004B52
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #234070;
/* rgb */ color: rgb(35, 64, 112);
/* oklch */ color: oklch(37.5% 0.090 259.9);
Tailwind
colors: {
  custom: {
    50: '#677499',
    500: '#234070',
    950: '#000000',
  },
}
SCSS
$custom: #234070;
$custom-light: #677499;
$custom-dark: #000000;
JSON
{
  "hex": "#234070",
  "rgb": {
    "r": 35,
    "g": 64,
    "b": 112
  },
  "hsl": {
    "h": 217.403,
    "s": 52.381,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37497,
    "c": 0.08974,
    "h": 259.9
  },
  "luminance": 0.05194
}

Semantic roles & 50–950 ramp

primary
#234070
secondary
#A3824C
accent
#A64CDC
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #234070

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

Preview Lab → · Contrast checker → · Palette generator →

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