#234E8F#234E8F

#234E8F is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.0% C 0.118 H 258.6°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#234E8F
RGBrgb(35, 78, 143)
HSLhsl(216, 61%, 35%)
HSVhsv(216, 76%, 56%)
CMYKcmyk(75.5%, 45.5%, 0%, 43.9%)
CIE-LABlab(33.54, 8.96, -40.31)
CIE-LCHlch(33.54, 41.29, 282.53°)
OKLaboklab(42.97% -0.0232 -0.1154)
OKLCHoklch(42.97% 0.118 258.6)
XYZxyz(8.3736, 7.7883, 27.0433)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234E8F #8F6423
analogous
#23848F #234E8F #2E238F
triadic
#234E8F #8F234E #4E8F23
tetradic
#234E8F #8F2384 #8F6423 #238F2E
square
#234E8F #8F2384 #8F6423 #238F2E
split-complementary
#234E8F #8F2E23 #848F23
monochromatic
#0B182D #17335E #234E8F #2F69C0 #5789D6

Accessibility & contrast

On white

8.21
#234E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#234E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234E8F
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234E8F#FFFFFF#000000##FFFFFF
##234E8F1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5491
Deuteranopia (green-blind)
#184A8E
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #234e8f;
/* rgb */ color: rgb(35, 78, 143);
/* oklch */ color: oklch(43.0% 0.118 258.6);
Tailwind
colors: {
  custom: {
    50: '#6d7fb0',
    500: '#234e8f',
    950: '#000000',
  },
}
SCSS
$custom: #234e8f;
$custom-light: #6d7fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#234e8f",
  "rgb": {
    "r": 35,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 216.111,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42973,
    "c": 0.11773,
    "h": 258.6
  },
  "luminance": 0.07789
}

Semantic roles & 50–950 ramp

primary
#234E8F
secondary
#BA9154
accent
#A444E4
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #234E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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