#234F8F#234F8F

#234F8F is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.2% C 0.117 H 258.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#234F8F
RGBrgb(35, 79, 143)
HSLhsl(216, 61%, 35%)
HSVhsv(216, 76%, 56%)
CMYKcmyk(75.5%, 44.8%, 0%, 43.9%)
CIE-LABlab(33.84, 8.29, -39.82)
CIE-LCHlch(33.84, 40.68, 281.76°)
OKLaboklab(43.21% -0.0241 -0.114)
OKLCHoklch(43.21% 0.117 258)
XYZxyz(8.4452, 7.9315, 27.0671)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234F8F #8F6323
analogous
#23858F #234F8F #2D238F
triadic
#234F8F #8F234F #4F8F23
tetradic
#234F8F #8F2385 #8F6323 #238F2D
square
#234F8F #8F2385 #8F6323 #238F2D
split-complementary
#234F8F #8F2D23 #858F23
monochromatic
#0B192D #17345E #234F8F #2F6AC0 #578AD6

Accessibility & contrast

On white

8.12
#234F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#234F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234F8F
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234F8F#FFFFFF#000000##FFFFFF
##234F8F1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5591
Deuteranopia (green-blind)
#1B4B8E
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #234f8f;
/* rgb */ color: rgb(35, 79, 143);
/* oklch */ color: oklch(43.2% 0.117 258.0);
Tailwind
colors: {
  custom: {
    50: '#6d7fb0',
    500: '#234f8f',
    950: '#000000',
  },
}
SCSS
$custom: #234f8f;
$custom-light: #6d7fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#234f8f",
  "rgb": {
    "r": 35,
    "g": 79,
    "b": 143
  },
  "hsl": {
    "h": 215.556,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43206,
    "c": 0.11651,
    "h": 258
  },
  "luminance": 0.07932
}

Semantic roles & 50–950 ramp

primary
#234F8F
secondary
#BA9054
accent
#A344E4
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #234F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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