#234F9B#234F9B

#234F9B is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.133 H 260.5°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#234F9B
RGBrgb(35, 79, 155)
HSLhsl(218, 63%, 37%)
HSVhsv(218, 77%, 61%)
CMYKcmyk(77.4%, 49%, 0%, 39.2%)
CIE-LABlab(34.63, 13.02, -45.84)
CIE-LCHlch(34.63, 47.65, 285.86°)
OKLaboklab(44.07% -0.022 -0.1317)
OKLCHoklch(44.07% 0.133 260.5)
XYZxyz(9.4034, 8.3148, 32.1133)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234F9B #9B6F23
analogous
#238B9B #234F9B #33239B
triadic
#234F9B #9B234F #4F9B23
tetradic
#234F9B #9B238B #9B6F23 #239B33
square
#234F9B #9B238B #9B6F23 #239B33
split-complementary
#234F9B #9B3323 #8B9B23
monochromatic
#0C1C37 #183669 #234F9B #2E68CD #5E8CDB

Accessibility & contrast

On white

7.89
#234F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#234F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234F9B
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234F9B#FFFFFF#000000##FFFFFF
##234F9B1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24579E
Deuteranopia (green-blind)
#004C99
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #234f9b;
/* rgb */ color: rgb(35, 79, 155);
/* oklch */ color: oklch(44.1% 0.133 260.5);
Tailwind
colors: {
  custom: {
    50: '#707fb9',
    500: '#234f9b',
    950: '#000000',
  },
}
SCSS
$custom: #234f9b;
$custom-light: #707fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#234f9b",
  "rgb": {
    "r": 35,
    "g": 79,
    "b": 155
  },
  "hsl": {
    "h": 218,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44069,
    "c": 0.13349,
    "h": 260.5
  },
  "luminance": 0.08316
}

Semantic roles & 50–950 ramp

primary
#234F9B
secondary
#BF9A5A
accent
#AA42E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #234F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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