#234F8D#234F8D

#234F8D is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.1% C 0.114 H 257.5°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#234F8D
RGBrgb(35, 79, 141)
HSLhsl(215, 60%, 35%)
HSVhsv(215, 75%, 55%)
CMYKcmyk(75.2%, 44%, 0%, 44.7%)
CIE-LABlab(33.71, 7.50, -38.80)
CIE-LCHlch(33.71, 39.52, 280.94°)
OKLaboklab(43.07% -0.0246 -0.111)
OKLCHoklch(43.07% 0.114 257.5)
XYZxyz(8.2951, 7.8715, 26.2763)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234F8D #8D6123
analogous
#23848D #234F8D #2C238D
triadic
#234F8D #8D234F #4F8D23
tetradic
#234F8D #8D2384 #8D6123 #238D2C
square
#234F8D #8D2384 #8D6123 #238D2C
split-complementary
#234F8D #8D2C23 #848D23
monochromatic
#0B182B #17345C #234F8D #2F6ABE #558AD5

Accessibility & contrast

On white

8.16
#234F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#234F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234F8D
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234F8D#FFFFFF#000000##FFFFFF
##234F8D1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31558F
Deuteranopia (green-blind)
#1E4B8C
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #234f8d;
/* rgb */ color: rgb(35, 79, 141);
/* oklch */ color: oklch(43.1% 0.114 257.5);
Tailwind
colors: {
  custom: {
    50: '#6d7faf',
    500: '#234f8d',
    950: '#000000',
  },
}
SCSS
$custom: #234f8d;
$custom-light: #6d7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#234f8d",
  "rgb": {
    "r": 35,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 215.094,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43067,
    "c": 0.11367,
    "h": 257.5
  },
  "luminance": 0.07872
}

Semantic roles & 50–950 ramp

primary
#234F8D
secondary
#B98F53
accent
#A144E3
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #234F8D

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

Preview Lab → · Contrast checker → · Palette generator →

#234F8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva