#234072#234072

#234072 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.6% C 0.093 H 260.5°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#234072
RGBrgb(35, 64, 114)
HSLhsl(218, 53%, 29%)
HSVhsv(218, 69%, 45%)
CMYKcmyk(69.3%, 43.9%, 0%, 55.3%)
CIE-LABlab(27.40, 7.04, -32.08)
CIE-LCHlch(27.40, 32.85, 282.38°)
OKLaboklab(37.63% -0.0152 -0.0915)
OKLCHoklch(37.63% 0.093 260.5)
XYZxyz(5.5627, 5.2385, 16.6343)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234072 #725523
analogous
#236872 #234072 #2E2372
triadic
#234072 #722340 #407223
tetradic
#234072 #722368 #725523 #23722E
square
#234072 #722368 #725523 #23722E
split-complementary
#234072 #722E23 #687223
monochromatic
#070D17 #152643 #234072 #315AA1 #4877C7

Accessibility & contrast

On white

10.25
#234072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#234072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234072
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234072#FFFFFF#000000##FFFFFF
##2340721.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294574
Deuteranopia (green-blind)
#1C3D71
Tritanopia (blue-blind)
#004B53
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #234072;
/* rgb */ color: rgb(35, 64, 114);
/* oklch */ color: oklch(37.6% 0.093 260.5);
Tailwind
colors: {
  custom: {
    50: '#67749b',
    500: '#234072',
    950: '#000000',
  },
}
SCSS
$custom: #234072;
$custom-light: #67749b;
$custom-dark: #000000;
JSON
{
  "hex": "#234072",
  "rgb": {
    "r": 35,
    "g": 64,
    "b": 114
  },
  "hsl": {
    "h": 217.975,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37634,
    "c": 0.09276,
    "h": 260.5
  },
  "luminance": 0.05239
}

Semantic roles & 50–950 ramp

primary
#234072
secondary
#A5844C
accent
#A74BDC
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #234072

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

Preview Lab → · Contrast checker → · Palette generator →

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