#232F5D#232F5D

#232F5D is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.083 H 270.2°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#232F5D
RGBrgb(35, 47, 93)
HSLhsl(228, 45%, 25%)
HSVhsv(228, 62%, 36%)
CMYKcmyk(62.4%, 49.5%, 0%, 63.5%)
CIE-LABlab(20.75, 10.81, -29.14)
CIE-LCHlch(20.75, 31.08, 290.35°)
OKLaboklab(32.08% 0.0003 -0.0831)
OKLCHoklch(32.08% 0.083 270.2)
XYZxyz(3.6848, 3.1804, 10.7735)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232F5D #5D5123
analogous
#234C5D #232F5D #34235D
triadic
#232F5D #5D232F #2F5D23
tetradic
#232F5D #5D234C #5D5123 #235D34
square
#232F5D #5D234C #5D5123 #235D34
split-complementary
#232F5D #5D3423 #4C5D23
monochromatic
#080B16 #121931 #232F5D #344589 #445CB6

Accessibility & contrast

On white

12.83
#232F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#232F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232F5D
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232F5D#FFFFFF#000000##FFFFFF
##232F5D1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A355F
Deuteranopia (green-blind)
#11305C
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #232f5d;
/* rgb */ color: rgb(35, 47, 93);
/* oklch */ color: oklch(32.1% 0.083 270.2);
Tailwind
colors: {
  custom: {
    50: '#64678b',
    500: '#232f5d',
    950: '#000000',
  },
}
SCSS
$custom: #232f5d;
$custom-light: #64678b;
$custom-dark: #000000;
JSON
{
  "hex": "#232f5d",
  "rgb": {
    "r": 35,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 227.586,
    "s": 45.312,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32079,
    "c": 0.0831,
    "h": 270.2
  },
  "luminance": 0.03181
}

Semantic roles & 50–950 ramp

primary
#232F5D
secondary
#91824B
accent
#BA53D5
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #232F5D

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

Preview Lab → · Contrast checker → · Palette generator →

#232F5D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva