#234F9D#234F9D

#234F9D is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.2% C 0.136 H 260.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#234F9D
RGBrgb(35, 79, 157)
HSLhsl(218, 64%, 38%)
HSVhsv(218, 78%, 62%)
CMYKcmyk(77.7%, 49.7%, 0%, 38.4%)
CIE-LABlab(34.77, 13.81, -46.82)
CIE-LCHlch(34.77, 48.81, 286.43°)
OKLaboklab(44.22% -0.0217 -0.1346)
OKLCHoklch(44.22% 0.136 260.9)
XYZxyz(9.5727, 8.3825, 33.0052)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234F9D #9D7123
analogous
#238C9D #234F9D #34239D
triadic
#234F9D #9D234F #4F9D23
tetradic
#234F9D #9D238C #9D7123 #239D34
square
#234F9D #9D238C #9D7123 #239D34
split-complementary
#234F9D #9D3423 #8C9D23
monochromatic
#0D1D39 #18366B #234F9D #2E68CF #5F8CDB

Accessibility & contrast

On white

7.85
#234F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#234F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234F9D
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234F9D#FFFFFF#000000##FFFFFF
##234F9D1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2258A0
Deuteranopia (green-blind)
#004D9B
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #234f9d;
/* rgb */ color: rgb(35, 79, 157);
/* oklch */ color: oklch(44.2% 0.136 260.9);
Tailwind
colors: {
  custom: {
    50: '#717fba',
    500: '#234f9d',
    950: '#000000',
  },
}
SCSS
$custom: #234f9d;
$custom-light: #717fba;
$custom-dark: #000000;
JSON
{
  "hex": "#234f9d",
  "rgb": {
    "r": 35,
    "g": 79,
    "b": 157
  },
  "hsl": {
    "h": 218.361,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44218,
    "c": 0.13629,
    "h": 260.9
  },
  "luminance": 0.08384
}

Semantic roles & 50–950 ramp

primary
#234F9D
secondary
#C09C5C
accent
#AB41E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #234F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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